We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 87fa51e + 7220ee1 commit 1272fe4Copy full SHA for 1272fe4
1 file changed
.github/workflows/docs.yml
@@ -14,7 +14,21 @@ jobs:
14
cache-dependency-glob: pyproject.toml
15
- run: uv sync --group docs
16
- run: uv run --group docs --with pip sphinx-build docs build/html
17
- - uses: actions/upload-artifact@v4
+ - uses: actions/upload-pages-artifact@v4
18
with:
19
name: smirk-docs
20
- path: build/html
+ path: build/html/
21
+ deploy:
22
+ if: ${{ github.ref == 'refs/heads/main' }}
23
+ environment:
24
+ name: github-pages
25
+ url: ${{ steps.deployment.outputs.page_url }}
26
+ runs-on: ubuntu-latest
27
+ needs: build
28
+ permissions:
29
+ pages: write
30
+ id-token: write
31
+ steps:
32
+ - name: Deploy to GitHub Pages
33
+ id: deployment
34
+ uses: actions/deploy-pages@v4
0 commit comments