Storybook Deployment: Add automatic workflow#33570
Merged
r-farkhutdinov merged 26 commits intoJun 12, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds automated GitHub Actions workflows to build and deploy (or remove) per-PR Storybook previews, intended to publish static Storybook output to the gh-pages branch when a PR is labeled (and clean it up on close/unlabel).
Changes:
- Introduces a PR-triggered build workflow that decides whether to deploy/remove/skip based on PR events + the
storybooklabel, and uploads build artifacts. - Introduces a
workflow_run-triggered deploy workflow that downloads artifacts from the build run and usesrossjrw/pr-preview-actionto deploy/remove the preview.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| .github/workflows/pr-storybook-build.yml | Builds Storybook static output (when needed) and uploads metadata + static artifacts for downstream deployment. |
| .github/workflows/pr-storybook-deploy.yml | Downloads artifacts from the completed build workflow run and deploys/removes PR previews to gh-pages. |
48c2f69 to
bc6b2de
Compare
e87a964 to
9ff52d0
Compare
added 21 commits
June 11, 2026 18:28
…he standart action
…sion; add meta info to deploy job
…ersions; update deploy permissions
…es-deployment flag for remove
8fb826d to
2cb2c6f
Compare
IlyaKhD
approved these changes
Jun 11, 2026
alexslavr
approved these changes
Jun 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.