mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-13 18:15:24 +00:00
chore: Add isAnyDeploymentInprogress function to check if any deployments are in progress
This commit is contained in:
1 parent
d05151466c
commit
8731d0416b
2 files changed
+22
No files matched your search
@@ -0,0 +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 compose up --remove-orphans --force-recreate -d --wait
|
||||
echo $IMAGE > last_version
|
||||
docker compose logs -f
|
||||
Reference in new issue
Block a user