Skip to content

Commit 60e7c5e

Browse files
committed
adding the redirect index to the root dir of gh-pages
1 parent 22f50dd commit 60e7c5e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/doxygen-deployment.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ jobs:
2222
with:
2323
doxyfile-path: ".github/Doxyfile"
2424

25-
- name: Create redirect for /latest/
25+
- name: Create redirect for root
2626
run: |
2727
mkdir -p redirect
28-
echo '<!DOCTYPE html><html><head><meta http-equiv="refresh" content="0; url=../${{ github.event.release.tag_name }}/"/></head></html>' > redirect/index.html
28+
echo '<!DOCTYPE html><html><head><meta http-equiv="refresh" content="0; url=${{ github.event.release.tag_name }}/"/></head></html>' > redirect/index.html
2929
3030
- name: Deploy Doxygen page
3131
uses: peaceiris/actions-gh-pages@v4
@@ -36,10 +36,10 @@ jobs:
3636
destination_dir: ${{ github.event.release.tag_name }}
3737
keep_files: true
3838

39-
- name: Deploy redirect to /latest/
39+
- name: Deploy redirect to root
4040
uses: peaceiris/actions-gh-pages@v4
4141
with:
4242
github_token: ${{ secrets.GITHUB_TOKEN }}
4343
publish_branch: gh-pages
4444
publish_dir: redirect
45-
destination_dir: latest
45+
keep_files: true

0 commit comments

Comments
 (0)