Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

fix(core): enhance Slack deployment success notification formatting

Andras Bacsaifbb6ce3fcec1
diff --git a/app/Notifications/Application/DeploymentSuccess.php b/app/Notifications/Application/DeploymentSuccess.php
index e1067e9bc4..c6bbf43acb 100644
--- a/app/Notifications/Application/DeploymentSuccess.php
+++ b/app/Notifications/Application/DeploymentSuccess.php
@@ -195,9 +195,9 @@ class DeploymentSuccess 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,