Skip to content

Commit a0e47ab

Browse files
committed
fix working dir
1 parent ab588bf commit a0e47ab

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/mdbook.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ jobs:
1313
build:
1414
name: Build Book - mdbook
1515
runs-on: ubuntu-latest
16-
env:
17-
working-directory: docs
1816
steps:
1917

2018
- name: Checkout repository
@@ -24,16 +22,17 @@ jobs:
2422
with:
2523
toolchain: stable
2624
override: true
27-
25+
- name: Rust Cache
26+
uses: Swatinem/rust-cache@v2.7.3
2827
- name: Install mdBook
2928
run: cargo install mdbook
3029

3130
- name: Build the book
32-
run: mdbook build
31+
run: cd docs && mdbook build
3332

3433
- name: Deploy to GitHub Pages
3534
if: github.ref == 'refs/heads/main'
3635
uses: peaceiris/actions-gh-pages@v3
3736
with:
3837
github_token: ${{ secrets.GITHUB_TOKEN }}
39-
publish_dir: book
38+
publish_dir: docs/book

0 commit comments

Comments
 (0)