File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,10 +27,10 @@ jobs:
2727 with :
2828 doxyfile-path : " .github/Doxyfile-python"
2929
30- - name : Create redirect for /latest/
30+ - name : Create redirect for root
3131 run : |
3232 mkdir -p redirect
33- echo '<!DOCTYPE html><html><head><meta http-equiv="refresh" content="0; url=../ ${{ github.event.release.tag_name }}/"/></head></html>' > redirect/index.html
33+ echo '<!DOCTYPE html><html><head><meta http-equiv="refresh" content="0; url=${{ github.event.release.tag_name }}/"/></head></html>' > redirect/index.html
3434
3535 - name : Deploy Doxygen page
3636 uses : peaceiris/actions-gh-pages@v4
4141 destination_dir : ${{ github.event.release.tag_name }}
4242 keep_files : true
4343
44- - name : Deploy redirect to /latest/
44+ - name : Deploy redirect to root
4545 uses : peaceiris/actions-gh-pages@v4
4646 with :
4747 github_token : ${{ secrets.GITHUB_TOKEN }}
4848 publish_branch : gh-pages
4949 publish_dir : redirect
50- destination_dir : latest
You can’t perform that action at this time.
0 commit comments