Skip to content

Commit 59a6e39

Browse files
committed
Fix doc publishing workflow
1 parent 0439577 commit 59a6e39

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/publish-docs.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ jobs:
3434
# with:
3535
# version: 9 # Not needed if you've set "packageManager" in package.json
3636
# - uses: oven-sh/setup-bun@v1 # Uncomment this if you're using Bun
37+
- name: Change directory to docs
38+
run: cd docs
3739
- name: Setup Node
3840
uses: actions/setup-node@v4
3941
with:
@@ -43,8 +45,10 @@ jobs:
4345
uses: actions/configure-pages@v4
4446
- name: Install dependencies
4547
run: npm ci # or pnpm install / yarn install / bun install
48+
working-directory: ./docs
4649
- name: Build with VitePress
4750
run: npm run docs:build # or pnpm docs:build / yarn docs:build / bun run docs:build
51+
working-directory: ./docs
4852
- name: Upload artifact
4953
uses: actions/upload-pages-artifact@v3
5054
with:

0 commit comments

Comments
 (0)