Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upbuild storybook to public before site deploy #837
Conversation
|
/preview |
github-actions
bot
commented
Aug 12, 2020
|
Please find a preview at: https://staging.nodejs.dev/837/ |
|
hmmm...worked locally. don't see it |
|
@benhalverson how do I see the built task to see what happened? or have any thoughts on why it's not showing? |
|
@micahgodbolt because this change is coming from a fork the action will not run your modified code (this is a security feature) |
|
oh yeah...been there done that! |
|
if you create a branch in the repo i can target that instead, we can merge it into the branch and create PR into master |
|
I tried this locally |
|
Apologies that the CI / CD stuff is such a mess, the preview staging automation is actually an action -> https://github.com/nodejs/nodejs.dev/blob/master/.github/workflows/upload-to-staging.yml there isn't really use of a staging branch, which is why there is no content at the root of staging.nodejs.org |
designMoreWeb left a comment
|
Tried it locally looks good |
|
Just making it explicit that this needs some changes before it lands. This needs a rebase as the cloudbuild-staging.yml has been removed on the main branch. It also needs to update the github action for previews if we want to support that. |
|
I'm on the fence about if we should push the storybook to production... but I'd say it is more a +/- 0... reasonable to try it out and remove it if we decide to not include it. I requested changes including a rebase and an update to the github aciton. Please feel free to dismiss my review once those are updated. I'll do my best to review this in a timely fashion, but no need to block on me if we can't got those landed in time. |
|
Yeah, while we're on Dev i don't see a reason not to keep it out there. Before release we can probably push it to a subdomain or completely different URL if desired. Certainly is handy for PR preview branches |
|
LGTM |
|
If this checks pass lets land this and see what happens with both production + an open PR then iterate if things are not working as expected |
|
|


micahgodbolt commentedAug 12, 2020
Description
Build storybook on staging and production (optional...happy to remove) with a target of 'public/storybook'
this way we could go to https://staging.nodejs.dev/storybook and see the current components and design system
Related Issues