Skip to content

Commit

Permalink
Create index.html for redirection from wwdcnotes.com to DocC main page
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeehut committed Jun 23, 2024
1 parent bdc3f49 commit 2a9fb5c
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,24 @@ jobs:
rm ./docs/favicon.svg
rm ./docs/favicon.ico
cp ./favicon.ico ./docs/favicon.ico
- name: Create index.html for redirection
run: |
echo '<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Redirecting...</title>
<meta http-equiv="refresh" content="0; url=/documentation/wwdcnotes/">
<script type="text/javascript">
window.location.href = "/documentation/wwdcnotes/";
</script>
</head>
<body>
<p>If you are not redirected automatically, follow this <a href="/documentation/wwdcnotes/">Link</a>.</p>
</body>
</html>' > ./docs/index.html
- name: Deploy to Pages
uses: JamesIves/[email protected]
Expand Down

0 comments on commit 2a9fb5c

Please sign in to comment.