Browse Source

Fix error handling in SSH deployment script

fixed if
pull/6795/head
Oliver Mueller 2 days ago
committed by GitHub
parent
commit
9af47ce3a6
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 1
      deploy/ssh.sh

1
deploy/ssh.sh

@ -180,6 +180,7 @@ ssh_deploy() {
if [ $_set_level -ge $NOTIFY_LEVEL_ERROR ]; then if [ $_set_level -ge $NOTIFY_LEVEL_ERROR ]; then
_send_notify "Failed to deploy to $DEPLOY_SSH_SERVER" "Some or all of the files have not been transmitted to the server." "$NOTIFY_HOOK" "$RENEW_SKIP" _send_notify "Failed to deploy to $DEPLOY_SSH_SERVER" "Some or all of the files have not been transmitted to the server." "$NOTIFY_HOOK" "$RENEW_SKIP"
fi fi
fi
done done
return $_returnCode return $_returnCode

Loading…
Cancel
Save