diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index b514244c..b4d080ea 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -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 ../../ diff --git a/.github/workflows/gitee-mirror.yml b/.github/workflows/gitee-mirror.yml index fea130ec..65943cc1 100644 --- a/.github/workflows/gitee-mirror.yml +++ b/.github/workflows/gitee-mirror.yml @@ -4,7 +4,7 @@ # This is a basic workflow to help you get started with Actions -name: gitee-mirror +name: gitee-mirror # Controls when the action will run. Triggers the workflow on push or pull request # events but only for the master branch diff --git a/packages/fes-doc/deploy.sh b/packages/fes-doc/deploy.sh index 597f0581..1ad01de0 100644 --- a/packages/fes-doc/deploy.sh +++ b/packages/fes-doc/deploy.sh @@ -16,10 +16,7 @@ git init git add -A git commit -m 'deploy' -# 如果发布到 https://.github.io -# git push -f git@github.com:/.github.io.git master - # 如果发布到 https://.github.io/ git push -f https://github.com/WeBankFinTech/fes.js.git master:gh-pages -cd - \ No newline at end of file +cd -