-
Notifications
You must be signed in to change notification settings - Fork 63
45 lines (37 loc) · 1023 Bytes
/
book_stable.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: Test stable build of book
on:
workflow_dispatch:
workflow_call:
pull_request:
branches: ["release"]
push:
branches: ["release"]
env:
HDF5_MPI: "ON"
HDF5_DIR: "/usr/local/"
DISPLAY: ":99.0"
DEB_PYTHON_INSTALL_LAYOUT: deb_system
jobs:
build-book:
runs-on: ubuntu-latest
container: ghcr.io/fenics/dolfinx/lab:stable
env:
PYVISTA_TRAME_SERVER_PROXY_PREFIX: "/proxy/"
PYVISTA_TRAME_SERVER_PROXY_ENABLED: "True"
PYVISTA_OFF_SCREEN: false
PYVISTA_JUPYTER_BACKEND: "html"
steps:
- uses: actions/checkout@v4
- name: Install common packages
uses: ./.github/actions/install-dependencies
- name: Install book deps
run: python3 -m pip install --no-binary=h5py .
- name: Build the book
run: jupyter-book build . -W
- uses: actions/upload-artifact@v4
if : always()
with:
name: webpage
path: ./_build/html
retention-days: 2
if-no-files-found: error