-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
https://dev.to/steveblue/setup-a-redirect-on-github-pages-1ok7
Basically, just need to
- build the multi-branch storybook,
- check for build failures (Fail out CI build if (and only if) a build failure occurs in that PR's part of build #21)
- get the highest number for PRs
- check for existence of a build at each subdir (e.g.,
dist/storybook-bundle/PR-18
)- if doesn't exist, create folder with a stub index.html that explains/redirects
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<title>Redirecting to https://civictechto.github.io/polis-storybook/</title>
<meta http-equiv="refresh" content="10; URL=https://civictechto.github.io/polis-storybook/>
<link rel="canonical" href="https://civictechto.github.io/polis-storybook/">
</head>
<body>
The GitHub <a href="https://github.com/civictechto/polis-storybook/pulls/18">pull request PR-18</a> corresponding to this sub-site has been closed. In 10 seconds, redirecting to main storybook website at <a href="https://civictechto.github.io/polis-storybook/">https://civictechto.github.io/polis-storybook/</a>
</body>
Metadata
Metadata
Assignees
Labels
No labels