File tree Expand file tree Collapse file tree 1 file changed +19
-1
lines changed
Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Original file line number Diff line number Diff line change 5959 needs : build
6060 name : Deploy docs
6161 runs-on : ubuntu-latest
62+
6263 steps :
6364 - name : Checkout repository
6465@@ -100,5 +101,22 @@ jobs:
100101 run : pip install -r docs/requirements.txt
101102 - name : Generate images-by-category.md
102103 run : python scripts/generate-images-by-category.py
104+ - name : Build documentation
105+ run : mkdocs build
106+ - name : Upload static files as artifact
107+ 108+ with :
109+ path : site/
110+ pages :
111+ permissions :
112+ pages : write
113+ id-token : write
114+ environment :
115+ name : github-pages
116+ url : ${{ steps.deployment.outputs.page_url }}
117+ runs-on : ubuntu-latest
118+ needs : deploy
119+ steps :
103120 - name : Deploy to GitHub Pages
104- run : mkdocs gh-deploy --force
121+ id : deployment
122+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments