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 @@ public function toSlack(): SlackMessage
}
}
$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,