Skip to content

feat: add local technical docs. #2

feat: add local technical docs.

feat: add local technical docs. #2

Workflow file for this run

name: Build, test and deploy mdbook tech docs
on:
# SWITCH TO [ master ] FOR push ONLY BEFORE LANDING
push:
branches: [ "*" ]
pull_request:
branches: [ "*" ]
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write # To push a branch
pull-requests: write # To create a PR from that branch
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- run: (test -x $HOME/.cargo/bin/mdbook || cargo install mdbook)
- run: mdbook build tech-docs && mdbook test tech-docs
- uses: JamesIves/[email protected]
with:
branch: gh-pages # The branch the action should deploy to.
folder: tech-docs # The folder the action should deploy.