Skip to content

@antv/li-p2@1.3.0

@antv/li-p2@1.3.0 #17

Workflow file for this run

name: release
on:
release:
types: [created, edited]
jobs:
publish-site:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 16
- name: Build package
run: |
yarn install
yarn build:package
- name: Build examples builder
run: |
cd examples/builder
yarn install
yarn build
- name: Push gh-pages
run: |
cd examples/builder/dist
git init
git config --local user.name antv
git config --local user.email antv@antfin.com
git add .
git commit -m "update by release action"
- uses: ad-m/github-push-action@master
with:
github_token: ${{secrets.GITHUB_TOKEN}}
directory: examples/builder/dist
branch: gh-pages
force: true