We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5620aaa commit d85bfbfCopy full SHA for d85bfbf
.github/workflows/main.yaml
@@ -51,7 +51,7 @@ jobs:
51
run: |
52
uv run pre-commit run --all-files --show-diff-on-failure
53
54
- docs:
+ build-docs:
55
runs-on: ubuntu-latest
56
env:
57
PYTHON_VERSION: "3.11" # Use a single version for docs
@@ -68,4 +68,12 @@ jobs:
68
- name: Build docs
69
70
uv run sphinx-build source build/html
71
+ touch build/html/.nojekyll
72
working-directory: docs
73
+ - name: Deploy to GitHub Pages
74
+ if: github.ref == 'refs/heads/main'
75
+ uses: peaceiris/actions-gh-pages@v3
76
+ with:
77
+ github_token: ${{ secrets.GITHUB_TOKEN }}
78
+ publish_dir: ./docs/build/html
79
+ force_orphan: true
0 commit comments