Skip to content

compile-docs

compile-docs #286

Workflow file for this run

name: Compile documentation
on:
push:
branches:
- main
repository_dispatch:
types: [compile-docs]
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Generate nav
uses: docker://ghcr.io/riverbench/ci-worker:main
with:
args: ci-worker nav-gen . mkdocs_2.yml
- uses: actions/setup-python@v4
with:
python-version: 3.x
- uses: actions/cache@v3
with:
key: ${{ github.ref }}
path: .cache
- name: Install dependencies
run: pip install -r requirements.txt
- name: Deploy site
run: |
mv mkdocs_2.yml mkdocs.yml
mkdocs gh-deploy --force