From 8399b8ccf99c7ab1159a635a8be39152e50efcd9 Mon Sep 17 00:00:00 2001 From: Marco Dalla Santa Date: Wed, 10 Feb 2021 16:42:35 +0100 Subject: [PATCH] Fixes #9 --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index cd55f05..c0a7dfb 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -3,7 +3,7 @@ PASSWORD=${INPUT_PASSWORD}; KEY=${INPUT_KEY}; -if [ -z "$PRE_UPLOAD" ] && [ "$PASSWORD" ]; then +if [ -z "$KEY" ] && [ -z "$PASSWORD" ]; then echo "🔑 Please provide at least a key or a password..."; exit 0; fi