Skip to content

Commit

Permalink
fix(book): Broken Mdbook Version (#250)
Browse files Browse the repository at this point in the history
### Description

Previously, the updated mdbook version broke the book.
This pr sets the mdbook version to `0.4.40`.
  • Loading branch information
refcell authored Nov 13, 2024
1 parent d8a22de commit 12f95ae
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/book.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
name: Book Deployment

on:
workflow_dispatch:
push:
branches:
- main

jobs:
publish:
runs-on: ubuntu-latest
Expand All @@ -11,16 +14,12 @@ 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
cargo install --version 0.4.40 mdbook
cargo install mdbook-mermaid mdbook-template
- name: Build book
working-directory: ./book
run: mdbook build
Expand Down

0 comments on commit 12f95ae

Please sign in to comment.