fix(core): enhance Slack deployment success notification formatting

This commit is contained in:
Andras Bacsai
2025-02-04 12:44:31 +01:00
parent df129b83b3
commit fbb6ce3fce

View File

@@ -195,9 +195,9 @@ class DeploymentSuccess extends CustomEmailNotification
} }
} }
$description .= "\n\n**Project:** ".data_get($this->application, 'environment.project.name'); $description .= "\n\n*Project:* ".data_get($this->application, 'environment.project.name');
$description .= "\n**Environment:** {$this->environment_name}"; $description .= "\n*Environment:* {$this->environment_name}";
$description .= "\n**Deployment Logs:** {$this->deployment_url}"; $description .= "\n*<{$this->deployment_url}|Deployment Logs>*";
return new SlackMessage( return new SlackMessage(
title: $title, title: $title,