Skip to content

Commit

Permalink
修复GitHub Pages相对路径问题
Browse files Browse the repository at this point in the history
  • Loading branch information
aprosail committed Aug 23, 2024
1 parent 810edb6 commit 78865f4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ concurrency:
cancel-in-progress: false

jobs:
# 编译构造步骤。
build:
runs-on: ubuntu-latest
steps:
Expand All @@ -33,7 +34,7 @@ jobs:
- uses: actions/upload-pages-artifact@v3
with: {path: docs/.vitepress/dist}

# 部署到 GitHub Pages 的配置
# 部署步骤
deploy:
environment:
name: github-pages
Expand Down
2 changes: 1 addition & 1 deletion docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default defineConfig({
}),
],
},
base: "/handbook/docs/",
base: "/handbook/",
lang: "zh-CN",
title: "数社软件开发手册",
description: "软件开发基础知识文档",
Expand Down

0 comments on commit 78865f4

Please sign in to comment.