Skip to content

Commit 9bbc8fe

Browse files
fix(mdbook.yml): fix error 101
1 parent 2c286d0 commit 9bbc8fe

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/mdbook.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
branches: ["main"]
1212
paths:
1313
- 'docs/**'
14-
- 'book.toml'
14+
- 'docs/book.toml'
1515
workflow_dispatch:
1616

1717
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
@@ -43,11 +43,13 @@ jobs:
4343
id: pages
4444
uses: actions/configure-pages@v5
4545
- name: Build with mdBook
46-
run: mdbook build
46+
run: |
47+
cd docs
48+
mdbook build
4749
- name: Upload artifact
4850
uses: actions/upload-pages-artifact@v3
4951
with:
50-
path: ./book
52+
path: ./docs/book
5153

5254
# Deployment job
5355
deploy:

0 commit comments

Comments
 (0)