-
Notifications
You must be signed in to change notification settings - Fork 100
36 lines (29 loc) · 823 Bytes
/
pages.yml
File metadata and controls
36 lines (29 loc) · 823 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
# This GitHub Actions job will build the user guide and publish it to the
# gh-pages branch each time the main branch is updated. This branch is
# configured to be served automatically using GitHub Pages.
name: pages
on:
push:
branches: [main]
env:
UV_VERSION: "0.11.13"
jobs:
deploy:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v5
- name: Install uv
uses: astral-sh/setup-uv@v7
with:
version: ${{ env.UV_VERSION }}
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version-file: ".python-version"
- name: Install dependencies
run: uv sync --locked
- name: Publish Docs
run: uv run nox -s docs_github_pages