Skip to content

Commit 0e5194a

Browse files
committed
Fix doc publishing workflow
1 parent 0439577 commit 0e5194a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/publish-docs.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,15 @@ jobs:
3939
with:
4040
node-version: 24
4141
cache: npm # or pnpm / yarn
42+
cache-dependency-path: docs/package-lock.json
4243
- name: Setup Pages
4344
uses: actions/configure-pages@v4
4445
- name: Install dependencies
4546
run: npm ci # or pnpm install / yarn install / bun install
47+
working-directory: ./docs
4648
- name: Build with VitePress
4749
run: npm run docs:build # or pnpm docs:build / yarn docs:build / bun run docs:build
50+
working-directory: ./docs
4851
- name: Upload artifact
4952
uses: actions/upload-pages-artifact@v3
5053
with:

0 commit comments

Comments
 (0)