We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8d79759 + a422282 commit a6bfcadCopy full SHA for a6bfcad
.github/workflows/ci.yml
@@ -27,3 +27,24 @@ jobs:
27
git config --global user.email "[email protected]"
28
- name: Run tests
29
run: uv run pytest -q
30
+
31
+ deploy-docs:
32
+ if: github.event_name == 'push'
33
+ needs: [test]
34
+ runs-on: ubuntu-latest
35
+ steps:
36
+ - uses: actions/checkout@v4
37
+ - name: Set up Python
38
+ uses: actions/setup-python@v5
39
+ with:
40
+ python-version: '3.12'
41
+ - name: Install uv
42
+ uses: astral-sh/setup-uv@v6
43
44
+ enable-cache: 'true'
45
+ - name: Install deps
46
+ run: uv sync --group dev
47
+ - name: Check if documentation can be built
48
+ run: uv run mkdocs build -s
49
+ - name: Deploy documentation
50
+ run: uv run mkdocs gh-deploy --force
0 commit comments