Skip to content

chore: 增加player组件例子 (#2017) #89

chore: 增加player组件例子 (#2017)

chore: 增加player组件例子 (#2017) #89

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