Skip to content

Merge pull request #6 from anton-rs/rf/fix/missing-rfc-book-link #6

Merge pull request #6 from anton-rs/rf/fix/missing-rfc-book-link

Merge pull request #6 from anton-rs/rf/fix/missing-rfc-book-link #6

Workflow file for this run

name: Book Deployment
on:
push:
branches:
- main
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: write
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
- name: Setup mdbook
run: |
cargo install mdbook mdbook-mermaid mdbook-template
- name: Build book
working-directory: .
run: mdbook build
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./book