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.

chore: Update dependencies and remove unused code

Andras Bacsaie922bc207a8f
diff --git a/bootstrap/helpers/shared.php b/bootstrap/helpers/shared.php
index 7994c10af1..e84c30fad7 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;
diff --git a/scripts/cloud_upgrade.sh b/scripts/cloud_upgrade.sh
index fc1bc959a7..8bab73b986 100644
--- a/scripts/cloud_upgrade.sh
+++ b/scripts/cloud_upgrade.sh
@@ -1,9 +1,9 @@
set -e
export IMAGE=$1
-docker exec coolify sh -c "php artisan tinker --execute='isAnyDeploymentInprogress()'"
docker system prune -af
docker compose pull
read -p "Press Enter to update Coolify to $IMAGE..." </dev/tty
+docker exec coolify sh -c "php artisan tinker --execute='isAnyDeploymentInprogress()'"
docker compose up --remove-orphans --force-recreate -d --wait
echo $IMAGE > last_version
docker compose logs -f