Skip to content

Commit d65e41d

Browse files
authored
Merge pull request #91 from ThunLights/fix-wf
fix: workflow
2 parents 9b8697f + 70b8602 commit d65e41d

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

.github/workflows/storybook.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,8 @@ name: Story Book
22

33
on:
44
pull_request:
5+
types: [opened, synchronize, reopened, closed]
56
pull_request_target:
6-
push:
7-
branches:
8-
- main
9-
- release-*
107

118
concurrency:
129
group: pr-${{ github.event.pull_request.number }}
@@ -74,7 +71,7 @@ jobs:
7471
name: Preview
7572
runs-on: ubuntu-latest
7673
needs: [build]
77-
if: github.event.action != 'closed'
74+
if: github.event.action != 'closed' && github.event_name != 'push'
7875
permissions:
7976
contents: write
8077
pull-requests: write

0 commit comments

Comments
 (0)