Skip to content

Commit 52ef96c

Browse files
committed
Update deploy.yml
1 parent 5244f68 commit 52ef96c

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,15 @@ jobs:
6060

6161
- name: Install dependencies
6262

63-
run: npm ci # 如果用 pnpm → pnpm install
63+
run: npm ci
64+
65+
working-directory: ./docs
6466

6567
- name: Build with VitePress
6668

67-
run: npm run docs:build # 确保 package.json 有 "docs:build": "vitepress build docs"
69+
run: npm run build
70+
71+
working-directory: ./docs
6872

6973
- name: Upload artifact
7074

0 commit comments

Comments
 (0)