Skip to content

feat: refactoring code #9

feat: refactoring code

feat: refactoring code #9

Workflow file for this run

name: github pages
on:
push:
branches:
- main # default branch
jobs:
deploy:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- run: npm install
# 文档编译命令,如果是 react 模板需要修改为 npm run docs:build
- run: npm run docs:build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.ACCESS_TOKEN }}
# 文档目录,如果是 react 模板需要修改为 docs-dist
publish_dir: ./docs-dist