You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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><metacharset="utf-8"><title>Redirecting to https://civictechto.github.io/polis-storybook/</title><metahttp-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 <ahref="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 <ahref="https://civictechto.github.io/polis-storybook/">https://civictechto.github.io/polis-storybook/</a></body>
The text was updated successfully, but these errors were encountered:
This should probably happen in JS (which can preserve query params, and therefore redirect to the right story), and fallback to HTML redirect with <noscript> tags: https://stackoverflow.com/a/29706770
https://dev.to/steveblue/setup-a-redirect-on-github-pages-1ok7
Basically, just need to
dist/storybook-bundle/PR-18
)The text was updated successfully, but these errors were encountered: