From 601a3cdfc5b7cc2dd5c3ae63829f1333ca7fb23c Mon Sep 17 00:00:00 2001 From: Marco Dalla Santa Date: Wed, 8 Sep 2021 23:12:55 +0200 Subject: [PATCH] fix(pwd): added check for uploaded folder existence --- with_pass.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/with_pass.sh b/with_pass.sh index 8f30ed4..ffe0765 100644 --- a/with_pass.sh +++ b/with_pass.sh @@ -16,4 +16,4 @@ if [ ! -z "$POST_UPLOAD" ]; then echo "✅ Executed post-upload script"; fi -echo "🎉 Done"; \ No newline at end of file +sshpass -p ${PASSWORD} ssh ${INPUT_SSH_OPTIONS} ${INPUT_USER}@${INPUT_HOST} [[ -f $FILE_PATH ]] && echo "🎉 Done" || echo "😢 Something went wrong..." && exit 1; \ No newline at end of file