aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x.drone/authenv.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/.drone/authenv.sh b/.drone/authenv.sh
index 600efed..024a8bc 100755
--- a/.drone/authenv.sh
+++ b/.drone/authenv.sh
@@ -6,6 +6,11 @@
set -e
+if [ -z "$GPG_SSB_ENC" ] || [ -z "$BINTRAY_KEY" ]; then
+ echo "Secrets not defined!" >&2
+ exit 1
+fi
+
# import public key from key servers
#echo "Getting public key"
#gpg2 --batch --keyserver hkp://pool.sks-keyservers.net --recv-keys 4E7DA7B5A0F86992D6EB3F514601878662E33372