File tree Expand file tree Collapse file tree 2 files changed +34
-2
lines changed
Expand file tree Collapse file tree 2 files changed +34
-2
lines changed Original file line number Diff line number Diff line change 1+ name : Publish docs
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+
8+ permissions :
9+ contents : write
10+
11+ jobs :
12+ build-and-publish-docs :
13+ runs-on : ubuntu-latest
14+ steps :
15+ - name : Checkout code
16+ uses : actions/checkout@v4
17+
18+ - name : Set up Python
19+ uses : actions/setup-python@v5
20+ with :
21+ python-version-file : pyproject.toml
22+
23+ - name : Set up uv
24+ uses : astral-sh/setup-uv@v5
25+ with :
26+ version : 0.6.11
27+
28+ - name : Install project
29+ run : uv sync --group docs
30+
31+ - name : Deploy to GitHub Pages
32+ run : uv run mkdocs gh-deploy
Original file line number Diff line number Diff line change 1- name : tests
1+ name : Run tests
22
33on : [pull_request, workflow_dispatch]
44
55jobs :
6- build- test :
6+ test :
77 runs-on : ubuntu-latest
88 timeout-minutes : 60
99 steps :
You can’t perform that action at this time.
0 commit comments