mirror of
https://gitee.com/jiulinxiri/ssh-scp-deploy.git
synced 2025-09-10 18:25:12 +08:00
fix(CI): missing spacing with pass
This commit is contained in:
@@ -4,8 +4,8 @@ if [ ! -z "$PRE_UPLOAD" ]; then
|
|||||||
echo "👌 Executing pre-upload script..." &&
|
echo "👌 Executing pre-upload script..." &&
|
||||||
sshpass -p ${PASSWORD} ssh ${INPUT_SSH_OPTIONS} ${INPUT_USER}@${INPUT_HOST} "$INPUT_PRE_UPLOAD && exit" &&
|
sshpass -p ${PASSWORD} ssh ${INPUT_SSH_OPTIONS} ${INPUT_USER}@${INPUT_HOST} "$INPUT_PRE_UPLOAD && exit" &&
|
||||||
echo "✅ Executed pre-upload script"
|
echo "✅ Executed pre-upload script"
|
||||||
} || {
|
} || {
|
||||||
echo "😢 Something went wrong during pre-upload script" && exit 1
|
echo "😢 Something went wrong during pre-upload script" && exit 1
|
||||||
}
|
}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user