From 78865f46519e4ac03b1a6e9b388836b0cb2387ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BB=BF=E4=B8=80=E6=97=A5=E7=9A=84=E8=88=B9?= Date: Fri, 23 Aug 2024 16:48:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DGitHub=20Pages=E7=9B=B8?= =?UTF-8?q?=E5=AF=B9=E8=B7=AF=E5=BE=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy.yaml | 3 ++- docs/.vitepress/config.ts | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index b3b6706..bdcca26 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -16,6 +16,7 @@ concurrency: cancel-in-progress: false jobs: + # 编译构造步骤。 build: runs-on: ubuntu-latest steps: @@ -33,7 +34,7 @@ jobs: - uses: actions/upload-pages-artifact@v3 with: {path: docs/.vitepress/dist} - # 部署到 GitHub Pages 的配置。 + # 部署步骤。 deploy: environment: name: github-pages diff --git a/docs/.vitepress/config.ts b/docs/.vitepress/config.ts index 557ca7e..07ba50c 100644 --- a/docs/.vitepress/config.ts +++ b/docs/.vitepress/config.ts @@ -16,7 +16,7 @@ export default defineConfig({ }), ], }, - base: "/handbook/docs/", + base: "/handbook/", lang: "zh-CN", title: "数社软件开发手册", description: "软件开发基础知识文档",