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