Skip to content
This repository has been archived by the owner on Oct 7, 2023. It is now read-only.

chore: update ci node-version #272

chore: update ci node-version

chore: update ci node-version #272

Workflow file for this run

name: Site Deploy
# on:
# workflow_dispatch:
# push:
# branches: [master]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: yarn install
- run: npm run lint
publish-site:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: yarn install
- run: npm run site:build
- run: |
cd public
git init
git config --local user.name antv
git config --local user.email [email protected]
git add .
git commit -m "update by release action"
- uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
directory: public
branch: gh-pages
force: true