Skip to content

feat: 文档添加demo页面,方便调试代码 #36

feat: 文档添加demo页面,方便调试代码

feat: 文档添加demo页面,方便调试代码 #36

name: GitHub Actions Build docs and deploy
on:
push:
branches:
- master
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Build and Deploy
uses: JamesIves/github-pages-deploy-action@releases/v4
env:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
BRANCH: gh-pages
FOLDER: src # 部署文件夹内容
BUILD_SCRIPT: npm install && npm run build:docs