Skip to content

Commit 04522c5

Browse files
authored
Update deploy.yml
1 parent 428a51a commit 04522c5

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
uses: actions/checkout@v4
3333
with:
3434
fetch-depth: 0 # 如果未启用 lastUpdated,则不需要
35-
# - uses: pnpm/action-setup@v3 # 如果使用 pnpm,请取消此区域注释
35+
- uses: pnpm/action-setup@v3 # 如果使用 pnpm,请取消此区域注释
3636
# with:
3737
# version: 9
3838
# - uses: oven-sh/setup-bun@v1 # 如果使用 Bun,请取消注释
@@ -44,9 +44,9 @@ jobs:
4444
- name: Setup Pages
4545
uses: actions/configure-pages@v4
4646
- name: Install dependencies
47-
run: npm ci # 或 pnpm install / yarn install / bun install
47+
run: pnpm install # 或 pnpm install / yarn install / bun install
4848
- name: Build with VitePress
49-
run: npm run docs:build # 或 pnpm docs:build / yarn docs:build / bun run docs:build
49+
run: docs:build # 或 pnpm docs:build / yarn docs:build / bun run docs:build
5050
- name: Upload artifact
5151
uses: actions/upload-pages-artifact@v3
5252
with:

0 commit comments

Comments
 (0)