We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c5c297 commit babb243Copy full SHA for babb243
1 file changed
.github/workflows/gh-pages.yml
@@ -4,20 +4,33 @@ on:
4
release:
5
types:
6
- created
7
+ push:
8
+ branches:
9
+ - main
10
11
jobs:
- job:
- name: GitHub Pages
12
+ build-docs:
13
runs-on: ubuntu-latest
14
+
15
+ permissions:
16
+ contents: write
17
+ pages: write
18
+ id-token: write
19
20
steps:
21
- uses: actions/checkout@v4
- - uses: actions/setup-python@v5
22
23
+ - uses: prefix-dev/setup-pixi@v0.8.10
24
with:
- python-version: "3.13"
- - name: Install project dependencies
- run: pip install -e ".[dev]"
- - name: Build docs
- run: python -m sphinx -b html docs docs/_build
25
+ pixi-version: v0.49.0
26
+ frozen: true
27
28
+ - name: Install doc env
29
+ run: pixi install -a
30
31
+ - name: Build documentation.
32
+ run: |
33
+ pixi run -e dev doc_build
34
- name: Deploy docs
35
uses: peaceiris/actions-gh-pages@v3
36
0 commit comments