File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6363 uv run build_docs.py
6464
6565 - name : Upload documentation artifacts
66- uses : actions/upload-artifact@v4
66+ uses : actions/upload-artifact@v7
6767 with :
6868 name : documentation
6969 path : docs/_build/html/
@@ -75,20 +75,25 @@ jobs:
7575 if : github.ref == 'refs/heads/main'
7676 needs : build-docs
7777 runs-on : ubuntu-latest
78- permissions :
79- contents : write
78+ environment :
79+ name : github-pages
80+ url : ${{ steps.deployment.outputs.page_url }}
81+
8082 steps :
81- - name : Checkout repository
82- uses : actions/checkout@v4
83+ - name : Configure GitHub Pages
84+ uses : actions/configure-pages@v5
8385
8486 - name : Download documentation artifact
85- uses : actions/download-artifact@v4
87+ uses : actions/download-artifact@v8
8688 with :
8789 name : documentation
8890 path : docs-out
8991
90- - name : Deploy to GitHub Pages
91- uses : peaceiris/ actions-gh- pages@v4
92+ - name : Upload Pages artifact
93+ uses : actions/upload- pages-artifact @v4
9294 with :
93- github_token : ${{ secrets.GITHUB_TOKEN }}
94- publish_dir : docs-out
95+ path : docs-out
96+
97+ - name : Deploy to GitHub Pages
98+ id : deployment
99+ uses : actions/deploy-pages@v4
Original file line number Diff line number Diff line change 8181 uv build
8282
8383 - name : Upload build artifacts
84- uses : actions/upload-artifact@v4
84+ uses : actions/upload-artifact@v7
8585 with :
8686 name : dist-packages
8787 path : dist/*
You can’t perform that action at this time.
0 commit comments