Skip to content

Commit 6092855

Browse files
committed
remocing latest dir from doxygen deployment
1 parent 0274021 commit 6092855

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/doxygen-deployment.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff 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
@@ -41,10 +41,9 @@ jobs:
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

0 commit comments

Comments
 (0)