From aaab1fa328b1dfed446b45378f1570c8b5133683 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=98=BF=E6=9D=86?= Date: Thu, 5 Sep 2024 18:43:00 +0800 Subject: [PATCH] =?UTF-8?q?docs(gh-page):=20=E4=BF=AE=E6=94=B9=E9=83=A8?= =?UTF-8?q?=E7=BD=B2=E5=9C=A8=E7=BA=BF=E6=96=87=E6=A1=A3=E7=9A=84=E4=BB=93?= =?UTF-8?q?=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy-docs.yml | 5 +++-- README.md | 1 - 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index 9b9ff7d..3755f5e 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -49,6 +49,7 @@ jobs: - name: 部署文档 uses: JamesIves/github-pages-deploy-action@v4 with: - # 这是文档部署到的分支名称 - branch: gh-pages folder: document/web-docs/docs/.vuepress/dist + repository-name: stick-i/spel-validator-gh-pages + branch: gh-pages + token: ${{ secrets.GH_PAGES_TOKEN }} diff --git a/README.md b/README.md index fd35582..66957a4 100644 --- a/README.md +++ b/README.md @@ -217,7 +217,6 @@ JDK8+ - `vX.Y.Z`:版本分支,用于汇总及验证新版本的功能,已经发布的版本会将分支删除。 - `dev-num-desc`:开发分支,用于开发新功能,每个dev分支都应当对应一个issue,功能开发完成后通过PR合入 `vX.Y.Z` 分支,并删除当前分支。 - `docs`:文档分支,修改文档的内容将提交到这里。 -- `gh-pages`:GitHub Pages 分支,用于发布在线文档。 ## License