Skip to content

ExplicitSystem Substitution #248

ExplicitSystem Substitution

ExplicitSystem Substitution #248

Workflow file for this run

name: Docs build
on:
push:
branches: [ main ]
pull_request:
jobs:
build:
name: Docs build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install --group docs .
- name: Build documentation
run: make -C docs html
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: docs
path: ./docs/_build/
- name: Deploy to gh pages
uses: JamesIves/github-pages-deploy-action@v4
if: ${{ github.ref == 'refs/heads/main' }}
with:
branch: gh-pages
folder: ./docs/_build/html