File tree Expand file tree Collapse file tree 1 file changed +24
-3
lines changed
Expand file tree Collapse file tree 1 file changed +24
-3
lines changed Original file line number Diff line number Diff line change 5454 run : |
5555 uv run pytest tests/ -v
5656
57- publish -pages :
57+ build -pages :
5858 permissions :
59- contents : read
60- pages : write
59+ contents : write
6160 id-token : write
6261 runs-on : ubuntu-latest
6362 # if: ${{startsWith(github.ref, 'refs/tags/')}} # only publish to PyPI on tag pushes
@@ -89,11 +88,33 @@ jobs:
8988 shell : bash -l {0}
9089 run : uv run make -C docs/ html
9190
91+ - name : Upload
92+ uses : actions/upload-pages-artifact@v3
93+ with :
94+ path : ./docs/build/html
95+
9296 - name : Deploy to GitHub Pages
9397 id : deployment
9498 uses : actions/deploy-pages@v4
9599
96100
101+ # Deployment job
102+ deploy-pages :
103+ permissions :
104+ contents : read
105+ pages : write
106+ id-token : write
107+ environment :
108+ name : github-pages
109+ url : ${{ steps.deployment.outputs.page_url }}
110+ runs-on : ubuntu-latest
111+ needs : build-pages
112+ steps :
113+ - name : Deploy to GitHub Pages
114+ id : deployment
115+ uses : actions/deploy-pages@v4
116+
117+
97118 build :
98119 name : Build distribution 📦
99120 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments