chore: 修复workflows/docs.yml构建时未正确发布的bug

This commit is contained in:
harrywan 2020-09-14 17:15:06 +08:00
parent 5a9d14550d
commit bf039f965b
3 changed files with 5 additions and 8 deletions

View File

@ -1,4 +1,4 @@
name: GitHub Actions Build and Deploy Docs
name: Deploy Docs
on:
push:
branches:
@ -14,5 +14,5 @@ jobs:
env:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
BRANCH: gh-pages
FOLDER: docs/.vuepress/dist
BUILD_SCRIPT: cd packages/fes-doc && npm install && npm run build
FOLDER: packages/fes-doc/docs/.vuepress/dist
BUILD_SCRIPT: cd packages/fes-doc && npm install && npm run build && cd ../../

View File

@ -4,7 +4,7 @@
# This is a basic workflow to help you get started with Actions
name: gitee-mirror<sync2gitee.com>
name: gitee-mirror
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch

View File

@ -16,10 +16,7 @@ git init
git add -A
git commit -m 'deploy'
# 如果发布到 https://<USERNAME>.github.io
# git push -f git@github.com:<USERNAME>/<USERNAME>.github.io.git master
# 如果发布到 https://<USERNAME>.github.io/<REPO>
git push -f https://github.com/WeBankFinTech/fes.js.git master:gh-pages
cd -
cd -