Skip to content

build: fix docs build #99

build: fix docs build

build: fix docs build #99

Workflow file for this run

name: Publish docs via GitHub Pages
on:
push:
branches:
- main
pull_request:
jobs:
build:
name: Deploy docs
runs-on: ubuntu-latest
steps:
- name: Checkout main
uses: actions/checkout@v4
- name: Install Rust
uses: moonrepo/setup-rust@v1
- name: Install Cargo
uses: actions-rs/cargo@v1
with:
command: help
- name: Add Cargo bin to PATH
run: echo "$GITHUB_WORKSPACE/.cargo/bin" >> $GITHUB_PATH
- name: Deploy docs
uses: mhausenblas/mkdocs-deploy-gh-pages@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CONFIG_FILE: mkdocs.yml
EXTRA_PACKAGES: build-base
REQUIREMENTS: requirements/requirements-docs.txt