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 <[email protected]>
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