mirror of
https://github.com/WeBankFinTech/fes.js.git
synced 2025-04-06 03:59:53 +08:00
chore: 修复workflows/docs.yml构建时未正确发布的bug
This commit is contained in:
parent
416f0036a9
commit
adb731b197
6
.github/workflows/docs.yml
vendored
6
.github/workflows/docs.yml
vendored
@ -1,4 +1,4 @@
|
|||||||
name: GitHub Actions Build and Deploy Docs
|
name: Deploy Docs
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
@ -14,5 +14,5 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
|
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
|
||||||
BRANCH: gh-pages
|
BRANCH: gh-pages
|
||||||
FOLDER: docs/.vuepress/dist
|
FOLDER: packages/fes-doc/docs/.vuepress/dist
|
||||||
BUILD_SCRIPT: cd packages/fes-doc && npm install && npm run build
|
BUILD_SCRIPT: cd packages/fes-doc && npm install && npm run build && cd ../../
|
||||||
|
2
.github/workflows/gitee-mirror.yml
vendored
2
.github/workflows/gitee-mirror.yml
vendored
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
# This is a basic workflow to help you get started with Actions
|
# 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
|
# Controls when the action will run. Triggers the workflow on push or pull request
|
||||||
# events but only for the master branch
|
# events but only for the master branch
|
||||||
|
@ -16,10 +16,7 @@ git init
|
|||||||
git add -A
|
git add -A
|
||||||
git commit -m 'deploy'
|
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>
|
# 如果发布到 https://<USERNAME>.github.io/<REPO>
|
||||||
git push -f https://github.com/WeBankFinTech/fes.js.git master:gh-pages
|
git push -f https://github.com/WeBankFinTech/fes.js.git master:gh-pages
|
||||||
|
|
||||||
cd -
|
cd -
|
||||||
|
Loading…
x
Reference in New Issue
Block a user