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.php to remove unnecessary code and improve code structure
Andras Bacsai072850be0b90
diff --git a/app/Jobs/ApplicationDeploymentJob.php b/app/Jobs/ApplicationDeploymentJob.phpindex 9d4f563cbc..15259a082e 100644--- a/app/Jobs/ApplicationDeploymentJob.php+++ b/app/Jobs/ApplicationDeploymentJob.php@@ -620,7 +620,6 @@ class ApplicationDeploymentJob implements ShouldQueue, ShouldBeEncrypted],);}- $this->application_deployment_queue->addLogEntry("Image pushed to docker registry.");} catch (Exception $e) {$this->application_deployment_queue->addLogEntry("Failed to push image to docker registry. Please check debug logs for more information.");if ($forceFail) {diff --git a/app/Jobs/ApplicationDeploymentJobNew.php b/app/Jobs/ApplicationDeploymentJobNew.phpindex 6c9c59b368..dedd736da1 100644--- a/app/Jobs/ApplicationDeploymentJobNew.php+++ b/app/Jobs/ApplicationDeploymentJobNew.php@@ -720,7 +720,6 @@ class ApplicationDeploymentJobNew implements ShouldQueue, ShouldBeEncrypted],);}- $this->application_deployment_queue->addLogEntry("Image pushed to docker registry.");} catch (Exception $e) {$this->application_deployment_queue->addLogEntry("Failed to push image to docker registry. Please check debug logs for more information.");if ($forceFail) {