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
fix: failed deployments should send failed email/notification
Andras Bacsaie8f3aa681e13
diff --git a/app/Jobs/ApplicationDeploymentJob.php b/app/Jobs/ApplicationDeploymentJob.phpindex b9c60605f9..fb94a66945 100644--- a/app/Jobs/ApplicationDeploymentJob.php+++ b/app/Jobs/ApplicationDeploymentJob.php@@ -1678,12 +1678,14 @@ COPY ./nginx.conf /etc/nginx/conf.d/default.conf");{queue_next_deployment($this->application);// If the deployment is cancelled by the user, don't update the status- if ($this->application_deployment_queue->status !== ApplicationDeploymentStatus::CANCELLED_BY_USER->value && $this->application_deployment_queue->status !== ApplicationDeploymentStatus::FAILED->value) {+ if (+ $this->application_deployment_queue->status !== ApplicationDeploymentStatus::CANCELLED_BY_USER->value && $this->application_deployment_queue->status !== ApplicationDeploymentStatus::FAILED->value+ ) {$this->application_deployment_queue->update(['status' => $status,]);}- if ($status === ApplicationDeploymentStatus::FAILED->value) {+ if ($this->application_deployment_queue->status === ApplicationDeploymentStatus::FAILED->value) {$this->application->environment->project->team?->notify(new DeploymentFailed($this->application, $this->deployment_uuid, $this->preview));return;}