Skip to content

feat(guide): 增加 PolylineGuide (#1960) #58

feat(guide): 增加 PolylineGuide (#1960)

feat(guide): 增加 PolylineGuide (#1960) #58

name: 🤖 Sync to gh-pages
on:
push:
branches:
- master
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- run: yarn install
- run: cd site && yarn install
- run: cd site && npm run site:build
env:
NODE_OPTIONS: "--max_old_space_size=4096"
- run: |
cd site/dist
git init
git config --local user.name antv
git config --local user.email antv@antfin.com
git add .
git commit -m "update site"
- uses: ad-m/github-push-action@master
with:
github_token: ${{secrets.GITHUB_TOKEN}}
directory: site/dist
branch: gh-pages
force: true