feat: enable success messages again
This commit is contained in:
parent
5515f07f14
commit
2da4e9a274
3 changed files with 6 additions and 4 deletions
|
|
@ -2409,7 +2409,7 @@ private function next(string $status)
|
||||||
if (! $this->only_this_server) {
|
if (! $this->only_this_server) {
|
||||||
$this->deploy_to_additional_destinations();
|
$this->deploy_to_additional_destinations();
|
||||||
}
|
}
|
||||||
//$this->application->environment->project->team?->notify(new DeploymentSuccess($this->application, $this->deployment_uuid, $this->preview));
|
$this->application->environment->project->team?->notify(new DeploymentSuccess($this->application, $this->deployment_uuid, $this->preview));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -306,7 +306,9 @@ public function handle(): void
|
||||||
if ($this->backup->save_s3) {
|
if ($this->backup->save_s3) {
|
||||||
$this->upload_to_s3();
|
$this->upload_to_s3();
|
||||||
}
|
}
|
||||||
//$this->team?->notify(new BackupSuccess($this->backup, $this->database, $database));
|
|
||||||
|
$this->team->notify(new BackupSuccess($this->backup, $this->database, $database));
|
||||||
|
|
||||||
$this->backup_log->update([
|
$this->backup_log->update([
|
||||||
'status' => 'success',
|
'status' => 'success',
|
||||||
'message' => $this->backup_output,
|
'message' => $this->backup_output,
|
||||||
|
|
|
||||||
|
|
@ -1042,7 +1042,7 @@ public function sendReachableNotification()
|
||||||
$this->unreachable_notification_sent = false;
|
$this->unreachable_notification_sent = false;
|
||||||
$this->save();
|
$this->save();
|
||||||
$this->refresh();
|
$this->refresh();
|
||||||
// $this->team->notify(new Reachable($this));
|
$this->team->notify(new Reachable($this));
|
||||||
}
|
}
|
||||||
|
|
||||||
public function sendUnreachableNotification()
|
public function sendUnreachableNotification()
|
||||||
|
|
@ -1050,7 +1050,7 @@ public function sendUnreachableNotification()
|
||||||
$this->unreachable_notification_sent = true;
|
$this->unreachable_notification_sent = true;
|
||||||
$this->save();
|
$this->save();
|
||||||
$this->refresh();
|
$this->refresh();
|
||||||
// $this->team->notify(new Unreachable($this));
|
$this->team->notify(new Unreachable($this));
|
||||||
}
|
}
|
||||||
|
|
||||||
public function validateConnection(bool $justCheckingNewKey = false)
|
public function validateConnection(bool $justCheckingNewKey = false)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue