-
-
Notifications
You must be signed in to change notification settings - Fork 41
46 lines (39 loc) · 1.1 KB
/
Copy pathdocs_pages.yaml
File metadata and controls
46 lines (39 loc) · 1.1 KB
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
46
name: Documentation
on:
push:
branches: [ master ]
tags: '*'
jobs:
build-docs:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@v2.14.0
with:
egress-policy: audit
allowed-endpoints: >
files.pythonhosted.org:443
github.com:443
release-assets.githubusercontent.com:443
api.github.com:443
pypi.org:443
- name: Checkout
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Set up Python '3.13'
uses: actions/setup-python@v6
with:
python-version: '3.13'
- name: Install uv
uses: astral-sh/setup-uv@v7
with:
python-version: ${{ matrix.python-version }}
- name: Install airflow-dbt-python with uv
run: uv sync --all-extras --group docs
- name: Install Graphviz
run: sudo apt-get install graphviz
- name: Build documentation
run: |
cd docs/
uv run python -m sphinx -T -b dirhtml -d _build/doctrees . html