Skip to content

Automate Storybook Deployment to S3 on Each PR #342

@martyanovandrey

Description

@martyanovandrey

Set up a CI process to automatically build and deploy a static version of Storybook to the existing S3 bucket used in Playwright tests for every pull request.

Acceptance Criteria:

  1. Build Automation:

    • Trigger Storybook build on each PR.
  2. S3 Deployment:

    • Deploy the static Storybook build to the S3 bucket currently used in Playwright tests.
  3. CI Integration:

    • Integrate the process with the current CI/CD pipeline.

Tasks:

  1. Update CI configuration to include Storybook build step.
  2. Configure deployment script to upload Storybook to the specified S3 bucket.
  3. Test the deployment process to ensure reliability.

This will streamline Storybook access and improve testing and development workflows.

Example:

https://github.com/gravity-ui/uikit/blob/main/.github/workflows/main-preview.yml

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions