File tree Expand file tree Collapse file tree 1 file changed +20
-1
lines changed
Expand file tree Collapse file tree 1 file changed +20
-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+
63+ permissions :
64+ pages : write
65+ id-token : write
66+
6267 steps :
6368 - name : Checkout repository
6469@@ -100,5 +105,19 @@ jobs:
100105 run : pip install -r docs/requirements.txt
101106 - name : Generate images-by-category.md
102107 run : python scripts/generate-images-by-category.py
108+ - name : Build documentation
109+ run : mkdocs build
110+ - name : Upload static files as artifact
111+ 112+ with :
113+ path : site/
114+ pages :
115+ environment :
116+ name : github-pages
117+ url : ${{ steps.deployment.outputs.page_url }}
118+ runs-on : ubuntu-latest
119+ needs : deploy
120+ steps :
103121 - name : Deploy to GitHub Pages
104- run : mkdocs gh-deploy --force
122+ id : deployment
123+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments