build: check secret variable to skip deploy on pull requests
This commit is contained in:
+1
-1
@@ -31,7 +31,7 @@ jobs:
|
||||
include:
|
||||
- stage: deploy-unstable
|
||||
jdk: openjdk8
|
||||
if: branch = master AND env(BINTRAY_USER) IS present
|
||||
if: branch = master AND env(BINTRAY_KEY) IS present
|
||||
script: bash scripts/travis-master.sh
|
||||
|
||||
- stage: deploy-release
|
||||
|
||||
Reference in New Issue
Block a user