-
Notifications
You must be signed in to change notification settings - Fork 45
44 lines (40 loc) · 897 Bytes
/
docs.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
name: Documentation
on:
push:
branches:
- main
paths:
- "docs/**"
- "madminer/**"
pull_request:
branches:
- main
paths:
- "docs/**"
- "madminer/**"
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build-docs:
needs: []
runs-on: ubuntu-latest
steps:
- name: "Set up GitHub Actions"
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: "Set up Python"
uses: actions/setup-python@v5
with:
python-version: "3.x"
- name: "Install Python dependencies"
run: |
python -m pip install --upgrade uv
uv pip install --system --upgrade pip setuptools wheel
uv pip install --system ".[docs]"
uv pip list --system
- name: "Build documentation"
run: |
make docs