File tree Expand file tree Collapse file tree 1 file changed +23
-21
lines changed
Expand file tree Collapse file tree 1 file changed +23
-21
lines changed Original file line number Diff line number Diff line change @@ -441,17 +441,10 @@ jobs:
441441 name : Publish
442442 needs : [doxygen, coverage]
443443 runs-on : ubuntu-24.04
444- permissions :
445- contents : write
446- if : ${{ github.ref == 'refs/heads/master' }}
447444 timeout-minutes : 30
448445 steps :
449- - name : Checkout
450- uses : actions/checkout@v4
451- with :
452- ref : gh-pages
453- path : pages
454- show-progress : false
446+ - name : Configure Pages
447+ uses : actions/configure-pages@v5
455448 - name : Download doxygen
456449 uses : actions/download-artifact@v4
457450 with :
@@ -464,15 +457,24 @@ jobs:
464457 path : coverage
465458 - name : Prepare
466459 run : |
467- rsync --archive --human-readable --verbose --delete --exclude=.git doxygen/. pages
468- mkdir pages/coverage
469- rsync --archive --human-readable --verbose --delete --exclude=.git coverage/. pages/coverage
470- touch pages/.nojekyll
471- - name : Commit
472- run : |
473- cd pages
474- git config user.name 'github-actions[bot]'
475- git config user.email 'github-actions[bot]@users.noreply.github.com'
476- git add --all .
477- git commit --amend --reset-author --message='Pages for ${{ github.sha }}'
478- git push --force
460+ mv coverage doxygen/coverage
461+ - name : Upload artifact
462+ uses : actions/upload-pages-artifact@v3
463+ with :
464+ path : doxygen
465+ deploy :
466+ name : Deploy
467+ needs : publish
468+ runs-on : ubuntu-24.04
469+ timeout-minutes : 30
470+ if : ${{ github.ref == 'refs/heads/master' }}
471+ permissions :
472+ id-token : write
473+ pages : write
474+ environment :
475+ name : github-pages
476+ url : ${{ steps.deployment.outputs.page_url }}
477+ steps :
478+ - name : Deploy Pages
479+ id : deployment
480+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments