Skip to content

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.

Fix styling

andrasbacsai5dc79159b493
diff --git a/bootstrap/helpers/shared.php b/bootstrap/helpers/shared.php
index 9a09adee12..7994c10af1 100644
--- a/bootstrap/helpers/shared.php
+++ b/bootstrap/helpers/shared.php
@@ -1,9 +1,9 @@
<?php
use App\Enums\ApplicationDeploymentStatus;
-use App\Models\ApplicationDeploymentQueue;
use App\Jobs\ServerFilesFromServerJob;
use App\Models\Application;
+use App\Models\ApplicationDeploymentQueue;
use App\Models\ApplicationPreview;
use App\Models\EnvironmentVariable;
use App\Models\InstanceSettings;
@@ -2271,7 +2271,8 @@ function get_public_ips()
}
}
-function isAnyDeploymentInprogress() {
+function isAnyDeploymentInprogress()
+{
// Only use it in the deployment script
$count = ApplicationDeploymentQueue::whereIn('status', [ApplicationDeploymentStatus::IN_PROGRESS, ApplicationDeploymentStatus::QUEUED])->count();
if ($count > 0) {