Skip to content

Commit

Permalink
chore: Update dependencies and remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
andrasbacsai committed Jun 12, 2024
1 parent b53bb44 commit e922bc2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bootstrap/helpers/shared.php
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
2 changes: 1 addition & 1 deletion scripts/cloud_upgrade.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit e922bc2

Please sign in to comment.