Skip to content

Update release CI

Update release CI #56

Workflow file for this run

name: Build documentation
on:
# Runs on pushes targeting the default branch
pull_request:
branches:
- "release"
workflow_call:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-22.04
container: ghcr.io/fenics/dolfinx/dolfinx:stable
env:
DEB_PYTHON_INSTALL_LAYOUT: deb_system
PUBLISH_DIR: ./_build/html
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install dependencies
run: python3 -m pip install ".[docs]"
- name: Build docs
run: jupyter book build -W .
- name: Upload documentation
uses: actions/upload-artifact@v4
with:
name: documentation
path: ./_build/html
if-no-files-found: error