Skip to content

Commit

Permalink
wip: add redirect for site app
Browse files Browse the repository at this point in the history
  • Loading branch information
manuandru committed Nov 2, 2023
1 parent d95b210 commit bfcdf4e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ jobs:
mkdir -p ./tmp-site/api/infra-service
mkdir -p ./tmp-site/api/notification
mkdir -p ./tmp-site/api/rest
mkdir -p ./tmp-site/app
- name: Copy files
run: |
cp -r ./api/infra-service/index.html ./tmp-site/api/infra-service/index.html
Expand All @@ -58,6 +59,9 @@ jobs:
--output=./tmp-site/index.html
--css=./github-pandoc.css
main.tex
- name: Add redirect for app
run: |
cp -r ./resources/redirect.html ./tmp-site/app/index.html
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
Expand Down
9 changes: 9 additions & 0 deletions resources/redirect.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<!doctype html>
<html>
<head>
<title>Redirect</title>
<meta charset="UTF-8" />
<meta http-equiv="refresh" content="0; URL=http://24.144.81.6" />
</head>
<body></body>
</html>

0 comments on commit bfcdf4e

Please sign in to comment.