Skip to content

Initial commit

Initial commit #11

Workflow file for this run

name: Deploy mdBook
on:
push:
branches:
- main
permissions:
pages: write
id-token: write
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Rust (rustup)
run: rustup update stable --no-self-update && rustup default stable
- name: Install mdBook
run: cargo install mdbook
- name: Build doc
run: mdbook build doc
- name: Configure GitHub Pages
uses: actions/configure-pages@v5
- name: Upload Pages artifact
uses: actions/upload-pages-artifact@v3
with:
path: doc/book
- name: Deploy to GitHub Pages
uses: actions/deploy-pages@v4