Skip to content

Commit b3510f8

Browse files
committed
Update publish.yml
1 parent 875af0f commit b3510f8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ name: react-charts publish
22
on:
33
push:
44
branches:
5-
- 'master'
65
- 'next'
76
pull_request:
87

@@ -28,7 +27,7 @@ jobs:
2827
publish-module:
2928
name: 'Publish Module to NPM'
3029
# needs: test
31-
if: github.ref == 'refs/heads/master' #publish only when merged in master, not on PR
30+
if: github.ref == 'refs/heads/next' #publish only when merged in master, not on PR
3231
runs-on: ubuntu-latest
3332
steps:
3433
- uses: actions/checkout@v2

0 commit comments

Comments
 (0)