Skip to content

Commit 643ebc6

Browse files
committed
publish only if on publish branch
1 parent df97830 commit 643ebc6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ env:
1111
on:
1212
push:
1313
branches:
14+
- master
1415
- publish
1516

1617
jobs:
@@ -115,6 +116,7 @@ jobs:
115116

116117
# publish to bintray.
117118
- name: bintray
119+
if: github.ref == 'refs/heads/publish'
118120
run: |
119121
echo -e "Publishing to Bintray"
120122
./publish-zip.sh

0 commit comments

Comments
 (0)