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: webhooks should not run if server is not functional
Andras Bacsaic76a1b1ba58d
diff --git a/routes/webhooks.php b/routes/webhooks.phpindex 6a9de6403b..c3c80dba33 100644--- a/routes/webhooks.php+++ b/routes/webhooks.php@@ -119,6 +119,11 @@ Route::post('/source/github/events', function () {return response('Nothing to do. No applications found.');}foreach ($applications as $application) {+ $isFunctional = $application->destination->server->isFunctional();+ if (!$isFunctional) {+ ray('Server is not functional: ' . $application->destination->server->name);+ continue;+ }if ($x_github_event === 'push') {if ($application->isDeployable()) {ray('Deploying ' . $application->name . ' with branch ' . $branch);