This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-net.git


The following commit(s) were added to refs/heads/master by this push:
     new c942bc8a Only deploy from original
c942bc8a is described below

commit c942bc8a16526a50a61d33ca368b3bb8d13a850f
Author: Sebb <s...@apache.org>
AuthorDate: Sun Dec 24 16:14:38 2023 +0000

    Only deploy from original
---
 .github/workflows/maven.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index d32619a0..83cd3952 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -79,7 +79,7 @@ jobs:
       run: mvn --show-version --batch-mode --no-transfer-progress -Ddoclint=all
 # N.B. Add  -Pslf4j-simple to enable logging above
     - name: Deploy SNAPSHOT using minimal build
-      if: matrix.deploy
+      if: matrix.deploy && github.repository == 'apache/commons-net' && 
github.ref_name == 'master'
       env:
         NEXUS_USER: ${{ secrets.NEXUS_USER }}
         NEXUS_PW: ${{ secrets.NEXUS_PW }}

Reply via email to