diff --git a/app/Notifications/Application/DeploymentFailed.php b/app/Notifications/Application/DeploymentFailed.php index a379cd46f..2d8ae381a 100644 --- a/app/Notifications/Application/DeploymentFailed.php +++ b/app/Notifications/Application/DeploymentFailed.php @@ -84,11 +84,14 @@ class DeploymentFailed extends Notification implements ShouldQueue } else { $message = 'Coolify: Deployment failed of **' . $this->application_name . '** (' . $this->fqdn . '): '; } + $buttons[] = [ + "text" => "Deployment logs", + "url" => $this->deployment_url + ]; return [ "message" => $message, "buttons" => [ - "text" => "View Deployment Logs", - "url" => $this->deployment_url + ...$buttons ], ]; }