Skip to content

Upgrade to jupyterbook version 2 #2

Upgrade to jupyterbook version 2

Upgrade to jupyterbook version 2 #2

Workflow file for this run

name: Build documentation
on:
pull_request:
branches: [main]
workflow_call:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-22.04
env:
PUBLISH_DIR: ./docs/_build/html
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install dependencies
run: python3 -m pip install .
- name: Build docs
run: cd docs && jupyter book build --html --check-links
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ${{ env.PUBLISH_DIR }}