Skip to content

Commit 4a0eab2

Browse files
committed
Oops; need to limit deploys
1 parent 72da9c2 commit 4a0eab2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/maven.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
- name: Build with Maven
7979
run: mvn --show-version --batch-mode --no-transfer-progress -DtrimStackTrace=false
8080
- name: Deploy SNAPSHOT using minimal build
81-
if: matrix.deploy
81+
if: matrix.deploy && github.repository == 'apache/commons-io' && github.ref_name == 'master'
8282
env:
8383
NEXUS_USER: ${{ secrets.NEXUS_USER }}
8484
NEXUS_PW: ${{ secrets.NEXUS_PW }}

0 commit comments

Comments
 (0)