File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed
Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change 2222 docs :
2323 name : Deploy docs to GitHub Pages
2424 runs-on : ubuntu-latest
25+ environment :
26+ name : github-pages
27+ url : ${{ steps.deployment.outputs.page_url }}
2528
2629 steps :
2730 - name : Checkout
@@ -40,18 +43,16 @@ jobs:
4043 - name : Install dependencies
4144 run : uv sync --group docs
4245
43- - name : Configure Git
44- run : |
45- git config --global user.name "github-actions[bot]"
46- git config --global user.email "github-actions[bot]@users.noreply.github.com"
46+ - name : Build documentation
47+ run : uv run mkdocs build
4748
48- - name : Build and deploy documentation
49- run : uv run mkdocs gh-deploy --force --clean
49+ - name : Setup Pages
50+ uses : actions/configure-pages@v4
5051
51- - name : Upload Pages artifact
52+ - name : Upload to GitHub Pages
5253 uses : actions/upload-pages-artifact@v3
5354 with :
54- path : site/
55+ path : ./site
5556
5657 - name : Deploy to GitHub Pages
5758 id : deployment
You can’t perform that action at this time.
0 commit comments