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.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
Refactor ApplicationDeploymentJob to conditionally notify team on DeploymentSuccess
Andras Bacsaifbf64f80375d
diff --git a/app/Jobs/ApplicationDeploymentJob.php b/app/Jobs/ApplicationDeploymentJob.phpindex 4c0da8d4da..07a9f6fa8a 100644--- a/app/Jobs/ApplicationDeploymentJob.php+++ b/app/Jobs/ApplicationDeploymentJob.php@@ -1965,7 +1965,10 @@ COPY ./nginx.conf /etc/nginx/conf.d/default.conf");if (!$this->only_this_server) {$this->deploy_to_additional_destinations();}- $this->application->environment->project->team?->notify(new DeploymentSuccess($this->application, $this->deployment_uuid, $this->preview));+ if (!isCloud()) {+ // TODO: turn off until we have a better solution+ $this->application->environment->project->team?->notify(new DeploymentSuccess($this->application, $this->deployment_uuid, $this->preview));+ }}}