Skip to content

Commit

Permalink
Add redirect index
Browse files Browse the repository at this point in the history
  • Loading branch information
mczyz-antmicro committed Jun 29, 2023
1 parent 59df2ba commit 017f627
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/scripts/indexgen/index_redirect/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="refresh" content="0; url='https://chipsalliance.github.io/Cores-VeeR-EL2/html/index.html'" />
</head>
<body>
</body>
</html>
4 changes: 4 additions & 0 deletions .github/workflows/publish-webpage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ jobs:
run: |
.github/scripts/update_webpage.sh ${{ github.ref_name }} ${{ github.event_name }} ${{ github.event.number }}
- name: Add redirect index page
run: |
cp .github/scripts/indexgen/index_redirect/index.html ./public.new/
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
Expand Down

0 comments on commit 017f627

Please sign in to comment.