Skip to content

Merge branch 'develop' into 'main' #1

Merge branch 'develop' into 'main'

Merge branch 'develop' into 'main' #1

Workflow file for this run

name: github pages
on:
push:
branches:
- main # default branch
pull_request:
branches:
- main
jobs:
deploy:
runs-on: self-hosted
steps:
- uses: actions/checkout@v3
- run: npm install
- run: npm 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/basic/build