You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@axis.apache.org by ve...@apache.org on 2021/03/07 17:39:46 UTC

[axis-axis2-java-core] branch master updated: Don't run the deploy step on forks

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

veithen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git


The following commit(s) were added to refs/heads/master by this push:
     new d61b082  Don't run the deploy step on forks
d61b082 is described below

commit d61b0824ab1bddfd287b99f48430ef8f3a1f9846
Author: Andreas Veithen <an...@gmail.com>
AuthorDate: Sun Mar 7 17:39:33 2021 +0000

    Don't run the deploy step on forks
---
 .github/workflows/ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 7beb3d7..9364ead 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -50,7 +50,7 @@ jobs:
     - name: Remove Snapshots
       run: find ~/.m2/repository -name '*-SNAPSHOT' -a -type d -print0 | xargs -0 rm -rf
   deploy:
-    if: github.event_name == 'push' && github.ref == 'refs/heads/master'
+    if: github.event_name == 'push' && github.ref == 'refs/heads/master' && github.repository == 'apache/axis-axis2-java-core'
     name: Deploy
     runs-on: ubuntu-18.04
     needs: build