Skip to content

Commit 47d6728

Browse files
committed
Build main storybooks
1 parent 9647719 commit 47d6728

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/push.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ jobs:
157157
working-directory: products/jbrowse-react-linear-genome-view
158158

159159
- name: Deploy LGV storybook
160-
if: startsWith(github.ref, 'refs/tags/')
160+
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/')
161161
run: |
162162
aws s3 sync --delete storybook-static s3://jbrowse.org/storybook/lgv/${{ github.ref_name }}
163163
aws cloudfront create-invalidation --distribution-id E13LGELJOT4GQO --paths "/storybook/lgv/${{ github.ref_name }}/*"
@@ -168,7 +168,7 @@ jobs:
168168
working-directory: products/jbrowse-react-app
169169

170170
- name: Deploy React App storybook
171-
if: startsWith(github.ref, 'refs/tags/')
171+
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/')
172172
run: |
173173
aws s3 sync --delete storybook-static s3://jbrowse.org/storybook/app/${{ github.ref_name }}
174174
aws cloudfront create-invalidation --distribution-id E13LGELJOT4GQO --paths "/storybook/app/${{ github.ref_name }}/*"
@@ -179,7 +179,7 @@ jobs:
179179
working-directory: products/jbrowse-react-circular-genome-view
180180

181181
- name: Deploy CGV storybook
182-
if: startsWith(github.ref, 'refs/tags/')
182+
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/')
183183
run: |
184184
aws s3 sync --delete storybook-static s3://jbrowse.org/storybook/cgv/${{ github.ref_name }}
185185
aws cloudfront create-invalidation --distribution-id E13LGELJOT4GQO --paths "/storybook/cgv/${{ github.ref_name }}/*"

0 commit comments

Comments
 (0)