fix: 自定义marker (#2021) #93
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 [email protected] | |
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 |