Skip to content

update docs

update docs #96

# Simple workflow for deploying static content to GitHub Pages
name: Deploy static content to Pages
on:
push:
branches:
- master
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: actions/configure-pages@v5
- name: Install mdBook
run: brew install mdbook
- name: Build mdBook documentation
run: |
cd book
mdbook build
cd ..
mkdir -p cookbook
cp -r book/book/* cookbook/
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: "."
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4