Merge pull request #1 from trionesdev/develop #3
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: github pages | |
on: | |
push: | |
branches: | |
- main # default branch | |
pull_request: | |
branches: | |
- main | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- run: yarn install | |
- run: yarn run build | |
- name: Deploy | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }} | |
# github_token: ${{ secrets.GITHUB_TOKEN }} | |
# 文档目录,如果是 react 模板需要修改为 docs-dist | |
publish_dir: ./examples/approval-process-designer-react/build |