Skip to content

Commit a8eb71f

Browse files
authored
Update build.yaml
Only deploy snapshots on master branch
1 parent 599359c commit a8eb71f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ jobs:
138138
make e2e-helm-test
139139
140140
- name: Deploy Snapshots
141-
if: success()
141+
if: ${{ github.ref == 'refs/heads/master' && success() }}
142142
env:
143143
MAVEN_SONATYPE_USERNAME: ${{ secrets.MAVEN_SONATYPE_USERNAME }}
144144
MAVEN_SONATYPE_TOKEN: ${{ secrets.MAVEN_SONATYPE_TOKEN }}

0 commit comments

Comments
 (0)