Skip to content

Commit 248559b

Browse files
committed
fix: book path
1 parent 3cbddcc commit 248559b

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/book.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,11 @@ jobs:
1515
- uses: peaceiris/actions-mdbook@v2
1616
with:
1717
mdbook-version: 'latest'
18-
- run: mdbook build
18+
19+
- name: Build book
20+
run: mdbook build book # Add "book" to specify the directory
21+
1922
- uses: peaceiris/actions-gh-pages@v4
2023
with:
2124
github_token: ${{ secrets.GITHUB_TOKEN }}
22-
publish_dir: ./book
25+
publish_dir: ./book/book

0 commit comments

Comments
 (0)