Skip to content

Commit 1f49bf3

Browse files
Correct working path for building docs in Github Actions
1 parent c07bf53 commit 1f49bf3

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/docs.yml

+3-4
Original file line numberDiff line numberDiff line change
@@ -31,19 +31,18 @@ jobs:
3131
- name: Setup Pages
3232
uses: actions/configure-pages@v4
3333

34-
- name: Navigate to docs directory
35-
run: cd docs
36-
3734
- name: Install dependencies
35+
working-directory: docs
3836
run: bun install
3937

4038
- name: Build with VitePress
39+
working-directory: docs
4140
run: bun run docs:build
4241

4342
- name: Upload artifact
4443
uses: actions/upload-pages-artifact@v3
4544
with:
46-
path: .vitepress/dist
45+
path: docs/.vitepress/dist
4746

4847
deploy:
4948
environment:

0 commit comments

Comments
 (0)