Skip to content

Commit 66144c2

Browse files
kevinten10claude
andcommitted
fix: 安装 Docsy 主题 npm 依赖(Bootstrap/FontAwesome)
Docsy 0.11.x 依赖 Bootstrap SCSS 和 Font-Awesome JS, 这些文件在 node_modules 中,需要在 CI 中单独安装主题依赖。 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 63d6a69 commit 66144c2

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/deploy.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,12 @@ jobs:
3131
node-version: '20'
3232
cache: 'npm'
3333

34-
- name: "Install dependencies"
34+
- name: "Install project dependencies"
3535
run: npm ci
3636

37+
- name: "Install Docsy theme dependencies"
38+
run: cd themes/docsy && npm install
39+
3740
- name: "Create Hugo module directories for Docsy"
3841
run: node themes/docsy/tools/mkdirp-hugo-mod.js themes
3942

0 commit comments

Comments
 (0)