Skip to content

Commit 1c94497

Browse files
committed
ci
1 parent a490ae5 commit 1c94497

1 file changed

Lines changed: 19 additions & 1 deletion

File tree

.github/workflows/documentation.yml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,37 @@ concurrency:
2121
cancel-in-progress: false
2222

2323
jobs:
24+
# Build documentation, upload html
25+
# permissions: upload
26+
build:
27+
runs-on: ubuntu-slim
28+
steps:
29+
- uses: actions/checkout@v6
30+
- uses: actions/setup-python@v6
31+
with:
32+
python-version: "3.14"
33+
- run: |
34+
python -m pip install --upgrade pip
35+
python -m pip install . --group=docs
36+
python -m pip list
37+
- run: |
38+
sphinx-build --builder html docs/source/ docs/build/html
39+
2440
deploy:
41+
# permissions: upload, pages
2542
environment:
2643
name: github-pages
2744
url: ${{ steps.deployment.outputs.page_url }}
2845
# TODO: ubuntu slim enough?
2946
runs-on: ubuntu-slim
47+
# download html
3048
steps:
3149
- uses: actions/checkout@v6
3250
- uses: actions/setup-python@v6
3351
with:
3452
python-version: "3.14"
3553
- run: |
36-
python -m python -m pip install --upgrade pip
54+
python -m pip install --upgrade pip
3755
python -m pip install . --group=docs
3856
3957
# TODO: This gets included in docs/conf.py

0 commit comments

Comments
 (0)