From bf039f965b366b16993dbe6c7c4615f17bf2980c Mon Sep 17 00:00:00 2001 From: harrywan Date: Mon, 14 Sep 2020 17:15:06 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E4=BF=AE=E5=A4=8Dworkflows/docs.yml?= =?UTF-8?q?=E6=9E=84=E5=BB=BA=E6=97=B6=E6=9C=AA=E6=AD=A3=E7=A1=AE=E5=8F=91?= =?UTF-8?q?=E5=B8=83=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/docs.yml | 6 +++--- .github/workflows/gitee-mirror.yml | 2 +- packages/fes-doc/deploy.sh | 5 +---- 3 files changed, 5 insertions(+), 8 deletions(-) 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 -