more fixes

This commit is contained in:
Andrey Kondratev
2025-08-29 11:29:28 +05:00
parent b483ed71f2
commit cfe2b459fb
6 changed files with 99 additions and 22 deletions

View File

@@ -121,6 +121,12 @@ jobs:
# Deploy with zero downtime
docker-compose --env-file .env.docker pull
# Stop existing containers if they exist
if docker-compose --env-file .env.docker ps -q | grep -q .; then
docker-compose --env-file .env.docker down --remove-orphans
fi
docker-compose --env-file .env.docker up -d
# Cleanup old images