File tree Expand file tree Collapse file tree 1 file changed +42
-0
lines changed
Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Publish Docs
2+
3+ on :
4+ push :
5+ branches : main
6+ workflow_dispatch :
7+
8+ concurrency :
9+ group : " pages"
10+ cancel-in-progress : true
11+
12+ jobs :
13+ build :
14+ runs-on : ubuntu-latest
15+ steps :
16+ - uses : actions/checkout@v4
17+ - uses : astral-sh/setup-uv@v4
18+ with :
19+ version : " 0.5.*"
20+ enable-cache : true
21+ cache-dependency-glob : uv.lock
22+ - uses : actions/setup-python@v5
23+ with :
24+ python-version : " 3.12"
25+ - run : uv sync --all-extras --all-groups
26+ - run : uv run mkdocs build --strict
27+ - uses : actions/upload-pages-artifact@v4
28+ with :
29+ path : site
30+
31+ deploy :
32+ runs-on : ubuntu-latest
33+ needs : build
34+ environment :
35+ name : github-pages
36+ url : ${{ steps.deployment.outputs.page_url }}
37+ permissions :
38+ pages : write
39+ id-token : write
40+ steps :
41+ - id : deployment
42+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments