Skip to content
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

Add command to publish repros + GH action #18800

Merged
merged 12 commits into from
Aug 1, 2022
Merged

Conversation

yannbf
Copy link
Member

@yannbf yannbf commented Jul 27, 2022

Issue: N/A

What I did

Similarly than the repro-templates action, this PR introduces a Github Action that executes as a CRON job to execute the "bootstrap" script and write to the repository with the generated config projects

The result is then pushed to https://github.com/storybookjs/repro-templates-temp

How to test

  • Is this testable with Jest or Chromatic screenshots?
  • Does this need a new example in the kitchen sink apps?
  • Does this need an update to the documentation?

If your answer is yes to any of these, please make sure to include it in your PR.

@yannbf yannbf added the maintenance User-facing maintenance tasks label Jul 27, 2022
@yannbf yannbf requested a review from tmeasday July 31, 2022 10:43
Copy link
Member

@tmeasday tmeasday left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

} else {
logger.info(`
To publish these examples you just need to:
- push the branch: 'git push --set-upstream origin ${gitBranch}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can probably reuse this from above

@yannbf yannbf merged commit 8d86f10 into next Aug 1, 2022
@yannbf yannbf deleted the yann/sb-509-create-github-action branch August 1, 2022 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance User-facing maintenance tasks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants