fix: docs workflow

This commit is contained in:
winixt 2021-05-28 15:26:10 +08:00
parent e15a350f6c
commit 19e9c37aaa
2 changed files with 7 additions and 7 deletions

View File

@ -2,9 +2,9 @@ name: Deploy Docs
on:
push:
branches:
- master
- vue3
paths:
- 'packages/fes-doc/**/**'
- 'docs/**/**'
jobs:
build-and-deploy:
runs-on: ubuntu-latest
@ -14,7 +14,7 @@ jobs:
- name: Build and Deploy
uses: JamesIves/github-pages-deploy-action@master
env:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
BRANCH: gh-pages
FOLDER: packages/fes-doc/docs/.vuepress/dist
BUILD_SCRIPT: cd packages/fes-doc && npm install && npm run build && cd ../../
ACCESS_TOKEN: ${{ secrets.QLIN_GITEE_TOKEN }}
BRANCH: master
FOLDER: docs/.vuepress/dist
BUILD_SCRIPT: npm install && npm run docs:build

View File

@ -1,4 +1,4 @@
# @fesjs/plugin-access
# @fesjs/plugin-sass