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

View File

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