From 86a421eb1635e94a7b79e7486e166f008ffe86a1 Mon Sep 17 00:00:00 2001 From: refcell Date: Tue, 12 Nov 2024 12:45:10 -0500 Subject: [PATCH] chore: Dispatch book build without cache (#807) * fix: book workflow * fix: pins mdbook version to 0.4.40 --- .github/workflows/book.yaml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/book.yaml b/.github/workflows/book.yaml index 37d0114e4..f6284ed73 100644 --- a/.github/workflows/book.yaml +++ b/.github/workflows/book.yaml @@ -1,5 +1,6 @@ name: Book Deployment on: + workflow_dispatch: push: branches: - main @@ -11,13 +12,8 @@ jobs: deployments: write name: Publish to GitHub Pages steps: - - name: Checkout sources - uses: actions/checkout@v4 - - name: Install Rust stable toolchain - uses: dtolnay/rust-toolchain@stable - - uses: Swatinem/rust-cache@v2 - with: - cache-on-failure: true + - uses: actions/checkout@v4 + - uses: dtolnay/rust-toolchain@stable - name: Setup mdbook run: | cargo install mdbook mdbook-mermaid mdbook-template @@ -30,3 +26,4 @@ jobs: with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./book/book + mdbook-version: '0.4.40'