Skip to content

Storybook Deployment: Add automatic workflows#33570

Open
r-farkhutdinov wants to merge 17 commits into
DevExpress:26_1from
r-farkhutdinov:26_1_sb_deploy_auto
Open

Storybook Deployment: Add automatic workflows#33570
r-farkhutdinov wants to merge 17 commits into
DevExpress:26_1from
r-farkhutdinov:26_1_sb_deploy_auto

Conversation

@r-farkhutdinov

Copy link
Copy Markdown
Contributor

No description provided.

@r-farkhutdinov r-farkhutdinov self-assigned this May 13, 2026
Copilot AI review requested due to automatic review settings May 13, 2026 11:43
@r-farkhutdinov r-farkhutdinov requested a review from a team as a code owner May 13, 2026 11:43

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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 storybook label, and uploads build artifacts.
  • Introduces a workflow_run-triggered deploy workflow that downloads artifacts from the build run and uses rossjrw/pr-preview-action to 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.

Comment thread .github/workflows/pr-storybook-deploy.yml
Comment thread .github/workflows/pr-storybook-deploy.yml
Comment thread .github/workflows/pr-storybook-deploy.yml Outdated

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

Comment thread .github/workflows/pr-storybook-deploy.yml Outdated
Copilot AI review requested due to automatic review settings May 13, 2026 14:29

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

Comment thread .github/workflows/pr-storybook-build.yml

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

Comment thread .github/workflows/pr-storybook-build.yml
Comment thread .github/workflows/pr-storybook-deploy.yml
Copilot AI review requested due to automatic review settings June 8, 2026 09:03

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

Comment thread .github/workflows/pr-storybook-deploy.yml Outdated
Comment thread .github/workflows/pr-storybook-build.yml
Copilot AI review requested due to automatic review settings June 8, 2026 12:21

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

Comment thread .github/workflows/pr-storybook-build.yml Outdated
Comment thread .github/workflows/pr-storybook-deploy.yml Outdated
Copilot AI review requested due to automatic review settings June 8, 2026 15:03

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 6 comments.

Comment thread .github/workflows/pr-storybook-build.yml Outdated
Comment thread .github/workflows/pr-storybook-deploy.yml Outdated
Comment thread .github/workflows/pr-storybook-deploy.yml
Comment thread .github/workflows/pr-storybook-deploy.yml Outdated
Comment thread .github/workflows/pr-storybook-deploy.yml
Comment thread .github/workflows/pr-storybook-deploy.yml Outdated
Copilot AI review requested due to automatic review settings June 8, 2026 15:18
Copilot AI review requested due to automatic review settings June 8, 2026 15:39

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 10 comments.

Comment thread .github/workflows/pr-storybook-build.yml
Comment thread .github/workflows/pr-storybook-build.yml
Comment thread .github/workflows/pr-storybook-build.yml
Comment thread .github/workflows/pr-storybook-build.yml
Comment thread .github/workflows/pr-storybook-build.yml
Comment thread .github/workflows/pr-storybook-build.yml
Comment thread .github/workflows/pr-storybook-build.yml
Comment thread .github/workflows/pr-storybook-deploy.yml
Comment thread .github/workflows/pr-storybook-deploy.yml Outdated
Comment thread .github/workflows/pr-storybook-deploy.yml
Copilot AI review requested due to automatic review settings June 9, 2026 09:25

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

Comment on lines +15 to +17
permissions:
contents: read

timeout-minutes: 10
environment:
name: github-pages
url: https://devexpress.github.com/DevExtreme/preview/pr-${{ needs.prepare.outputs.pr_number }}
Copilot AI review requested due to automatic review settings June 9, 2026 09:47

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 7 comments.

Comment thread .github/workflows/pr-storybook-build.yml Outdated
Comment thread .github/workflows/pr-storybook-build.yml
Comment thread .github/workflows/pr-storybook-deploy.yml Outdated
Comment thread .github/workflows/pr-storybook-deploy.yml Outdated
Comment thread .github/workflows/pr-storybook-deploy.yml
Comment thread .github/workflows/pr-storybook-deploy.yml Outdated
Comment thread .github/workflows/pr-storybook-deploy.yml
Copilot AI review requested due to automatic review settings June 9, 2026 10:08

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

Comment thread .github/workflows/pr-storybook-build.yml
Comment thread .github/workflows/pr-storybook-build.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants