Skip to content

Commit e092ed5

Browse files
committed
Fix doc publishing workflow
1 parent 0439577 commit e092ed5

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/publish-docs.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,14 @@ jobs:
4141
cache: npm # or pnpm / yarn
4242
- name: Setup Pages
4343
uses: actions/configure-pages@v4
44+
- name: Change directory to docs
45+
run: cd docs
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)