-
Notifications
You must be signed in to change notification settings - Fork 755
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deploy storybook site to production #1439
Conversation
Thank you for opening this pull request with us! Be sure to follow our Pull Request Practices. Let us know if you have any questions on Slack. |
@julianguyen this is now ready for review !! 🎉 🎆 Sorry for the huuuuuuge list of commits when you make this tasks with the CI it can get a bit ugly 😥. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Woo awesome work!
.circleci/config.yml
Outdated
cd client | ||
yarn build:storybook | ||
mv .out .public | ||
yarn run surge --project .public --domain storybook-ifme.surge.sh |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's rename this to ifme.surge.sh and I can point if-me.org/design to this url!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
WOOoo!
Thank you for merging this pull request with us! If you haven't already, in another pull request, please add yourself to our Contribute page. |
👋 👋 hello fellow contributors 🌸
Description
The goal is to have a page with static storybook deployed.
I aborted
storybook-deployer
as it was complaining quite a lot for no good reason (one that I could understand at least 😅).We use
surge
instead to deploy the static storybook website on https://storybook-ifme.surge.shThe logic behind is the same, no static code committed on
master
. Storybook is getting build and deployed viasurge
during the CI time.The new job that has been added on this PR
deploy-storybook
will be triggered only when a PR is merged onmaster
as we dont want storybook to be deployed on every PR one makes.Corresponding Issue
Closes #1390
Test Coverage
This PR contains only infrastructural work thus no tests have been written.