Skip to content

Commit c36847c

Browse files
committed
Update publish.yml
1 parent f329890 commit c36847c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/publish.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ on:
33
push:
44
branches:
55
- 'next'
6+
- 'beta'
67
pull_request:
78

89
jobs:
@@ -27,7 +28,7 @@ jobs:
2728
publish-module:
2829
name: 'Publish Module to NPM'
2930
# needs: test
30-
if: github.ref == 'refs/heads/next' #publish only when merged in master, not on PR
31+
if: github.ref == 'refs/heads/next' || github.ref == 'refs/heads/beta' #publish only when merged in master, not on PR
3132
runs-on: ubuntu-latest
3233
steps:
3334
- uses: actions/checkout@v2

0 commit comments

Comments
 (0)