diff --git a/.github/workflows/mdbook.yml b/.github/workflows/mdbook.yml index 28df70e7c0..19fbfef101 100644 --- a/.github/workflows/mdbook.yml +++ b/.github/workflows/mdbook.yml @@ -36,10 +36,10 @@ jobs: uses: Swatinem/rust-cache@v2.7.3 - name: Install mdBook - run: cargo install mdbook + run: cargo xtask init --dont-update-ide - name: Build the book - run: cd docs && mdbook build + run: cargo xtask docs --no-rust-docs - name: Deploy to GitHub Pages if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/staging'