Skip to content

Commit 5f8e4d1

Browse files
committed
Update storybook CI deploy to go from new main branch
1 parent ddcda07 commit 5f8e4d1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ci.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ jobs:
2121
- run: npm run build-storybook --quiet
2222

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

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

0 commit comments

Comments
 (0)