Skip to content

Commit f1bf452

Browse files
authored
chore: use xtask for building mdbok (#312)
1 parent 5b427a7 commit f1bf452

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/mdbook.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ jobs:
3636
uses: Swatinem/rust-cache@v2.7.3
3737

3838
- name: Install mdBook
39-
run: cargo install mdbook
39+
run: cargo xtask init --dont-update-ide
4040

4141
- name: Build the book
42-
run: cd docs && mdbook build
42+
run: cargo xtask docs --no-rust-docs
4343

4444
- name: Deploy to GitHub Pages
4545
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/staging'

0 commit comments

Comments
 (0)