🔖 v0.4.1 : use hyperbeam 0.9.3 #49
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy mdBook | |
on: | |
push: | |
branches: [ main ] | |
jobs: | |
build: | |
name: Build, Test and Deploy | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
profile: minimal | |
- name: Install mdBook | |
run: | | |
(test -x $HOME/.cargo/bin/mdbook || cargo install --vers "^0.4" mdbook) | |
cargo install mdbook-linkcheck mdbook-mermaid mdbook-admonish | |
- name: Build and Test | |
run: | | |
cd mdbook | |
mdbook-admonish install | |
mdbook build | |
mdbook test | |
- uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages | |
folder: ./mdbook/book/html |