Skip to content

Commit 1c8af48

Browse files
committed
Only deploy Storybook from master
1 parent 8af9b9f commit 1c8af48

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@ jobs:
2222

2323
- uses: actions/upload-artifact@v2
2424
# Only publish examples using the master branch, and only from one build
25-
if: github.ref == 'refs/heads/github-actions' && matrix.node-version == 'v16.x'
25+
if: github.ref == 'refs/heads/master' && matrix.node-version == 'v16.x'
2626
with:
2727
name: examples
2828
path: examples/*
2929
if-no-files-found: error
3030

3131
publish:
32-
if: github.ref == 'refs/heads/github-actions'
32+
if: github.ref == 'refs/heads/master'
3333
name: Deploy storybook examples
3434
runs-on: ubuntu-latest
3535
needs: build

0 commit comments

Comments
 (0)