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 getVersion.php to prevent GitHub Actions failure
Andras Bacsaic70554e2d289
diff --git a/bootstrap/getVersion.php b/bootstrap/getVersion.phpindex d65cc92e66..8fa27a3328 100644--- a/bootstrap/getVersion.php+++ b/bootstrap/getVersion.php@@ -1,4 +1,10 @@<?php+// To prevent github actions from failing+function env()+{+ return null;+}+$version = include 'config/constants.php';echo $version['coolify']['version'] ?: 'unknown';