File tree Expand file tree Collapse file tree 1 file changed +18
-3
lines changed
Expand file tree Collapse file tree 1 file changed +18
-3
lines changed Original file line number Diff line number Diff line change 2828 - name : Run tests
2929 run : uv run pytest -q
3030
31- deploy-docs :
32- if : github.event_name == 'push'
33- needs : [test]
31+ check-docs :
3432 runs-on : ubuntu-latest
3533 steps :
3634 - uses : actions/checkout@v4
4644 run : uv sync --group dev
4745 - name : Check if documentation can be built
4846 run : uv run mkdocs build -s
47+
48+ deploy-docs :
49+ if : github.event_name == 'push'
50+ needs : [test, check-docs]
51+ runs-on : ubuntu-latest
52+ steps :
53+ - uses : actions/checkout@v4
54+ - name : Set up Python
55+ uses : actions/setup-python@v5
56+ with :
57+ python-version : ' 3.12'
58+ - name : Install uv
59+ uses : astral-sh/setup-uv@v6
60+ with :
61+ enable-cache : ' true'
62+ - name : Install deps
63+ run : uv sync --group dev
4964 - name : Deploy documentation
5065 run : uv run mkdocs gh-deploy --force
You can’t perform that action at this time.
0 commit comments