mirror of
https://github.com/WeBankFinTech/fes.js.git
synced 2025-04-05 19:41:57 +08:00
chore: 修复workflows/docs.yml构建时未正确发布的bug
This commit is contained in:
parent
5a9d14550d
commit
bf039f965b
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:
|
||||
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 ../../
|
||||
|
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
|
||||
|
||||
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
|
||||
|
@ -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 -
|
||||
|
Loading…
x
Reference in New Issue
Block a user