mirror of
https://gitee.com/jiulinxiri/ssh-scp-deploy.git
synced 2025-09-10 10:19:49 +08:00
fix(pwd): added check for uploaded folder existence
This commit is contained in:
@@ -16,4 +16,4 @@ if [ ! -z "$POST_UPLOAD" ]; then
|
||||
echo "✅ Executed post-upload script";
|
||||
fi
|
||||
|
||||
echo "🎉 Done";
|
||||
sshpass -p ${PASSWORD} ssh ${INPUT_SSH_OPTIONS} ${INPUT_USER}@${INPUT_HOST} [[ -f $FILE_PATH ]] && echo "🎉 Done" || echo "😢 Something went wrong..." && exit 1;
|
Reference in New Issue
Block a user