Skip to content

Commit

Permalink
ci(storybook): fix storybook
Browse files Browse the repository at this point in the history
fix storybook action to only run, build and publish the site when pushed to main branch

Signed-off-by: Niloy Sikdar <niloysikdar30@gmail.com>
  • Loading branch information
niloysikdar authored and agentmilindu committed Jul 3, 2022
1 parent 8b9462d commit 5b1db3e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/storybook.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: Build and Deploy Storybook

on:
push:
branches: [main]
paths: ['src/**'] # Trigger the action only when files change in the folders defined here

jobs:
Expand Down

0 comments on commit 5b1db3e

Please sign in to comment.