Skip to content

Commit

Permalink
fix: book workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
refcell committed Nov 12, 2024
1 parent 2e943f4 commit 3a3c1e0
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 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 Down

0 comments on commit 3a3c1e0

Please sign in to comment.