-
Notifications
You must be signed in to change notification settings - Fork 2
38 lines (30 loc) · 774 Bytes
/
docs.yml
File metadata and controls
38 lines (30 loc) · 774 Bytes
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
name: Documentation
on:
push:
branches: [main]
pull_request:
branches: ["*"]
defaults:
run:
shell: bash -l {0}
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- uses: prefix-dev/setup-pixi@v0
with:
pixi-version: v0.65.0
cache: true
environments: docs
- name: Regenerate readthedocs environment
run: pixi run doc-requirements
- name: Check that readthedocs environment is up to date in git
run: git diff --exit-code doc/requirements.yml
- name: Build docs
run: pixi run -e docs docs
- uses: actions/upload-artifact@v5
with:
name: recursive-diff-docs
path: build/html