Skip to content

Commit

Permalink
chore: Dispatch book build without cache (#807)
Browse files Browse the repository at this point in the history
* fix: book workflow

* fix: pins mdbook version to 0.4.40
  • Loading branch information
refcell authored Nov 12, 2024
1 parent 5992040 commit 86a421e
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/book.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: Book Deployment
on:
workflow_dispatch:
push:
branches:
- main
Expand All @@ -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
Expand All @@ -30,3 +26,4 @@ jobs:
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./book/book
mdbook-version: '0.4.40'

0 comments on commit 86a421e

Please sign in to comment.