File tree Expand file tree Collapse file tree 1 file changed +19
-3
lines changed
Expand file tree Collapse file tree 1 file changed +19
-3
lines changed Original file line number Diff line number Diff line change @@ -400,11 +400,27 @@ jobs:
400400
401401 mkdocs build
402402
403- - name : Upload artifact
404- uses : actions/upload-pages-artifact@v4
403+ - name : Upload Pages artifact
404+ uses : actions/upload-pages-artifact@v3 # Changed from v4 to v3
405405 with :
406406 path : site
407+ retention-days : 30 # Added retention period
407408
408409 - name : Deploy to GitHub Pages
409410 id : deployment
410- uses : actions/deploy-pages@v4
411+ uses : actions/deploy-pages@v4
412+
413+ deploy :
414+ needs : build
415+ runs-on : ubuntu-latest
416+ permissions :
417+ pages : write
418+ id-token : write
419+ environment :
420+ name : github-pages
421+ url : ${{ steps.deployment.outputs.page_url }}
422+
423+ steps :
424+ - name : Deploy to GitHub Pages
425+ id : deployment
426+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments