diff --git a/app/Notifications/Application/DeploymentFailed.php b/app/Notifications/Application/DeploymentFailed.php index 0c09b1dbd..dec361e78 100644 --- a/app/Notifications/Application/DeploymentFailed.php +++ b/app/Notifications/Application/DeploymentFailed.php @@ -44,7 +44,7 @@ class DeploymentFailed extends CustomEmailNotification if (str($this->fqdn)->explode(',')->count() > 1) { $this->fqdn = str($this->fqdn)->explode(',')->first(); } - $this->deployment_url = base_url()."/project/{$this->project_uuid}/environments/{$this->environment_uuid}/application/{$this->application->uuid}/deployment/{$this->deployment_uuid}"; + $this->deployment_url = base_url()."/project/{$this->project_uuid}/environment/{$this->environment_uuid}/application/{$this->application->uuid}/deployment/{$this->deployment_uuid}"; } public function via(object $notifiable): array @@ -175,9 +175,9 @@ class DeploymentFailed extends CustomEmailNotification } } - $description .= "\n\n**Project:** ".data_get($this->application, 'environment.project.name'); - $description .= "\n**Environment:** {$this->environment_name}"; - $description .= "\n**Deployment Logs:** {$this->deployment_url}"; + $description .= "\n\n*Project:* ".data_get($this->application, 'environment.project.name'); + $description .= "\n*Environment:* {$this->environment_name}"; + $description .= "\n*<{$this->deployment_url}|Deployment Logs>*"; return new SlackMessage( title: $title,