Update deployment script to ensure containers are stopped before rebuilding
This commit is contained in:
@@ -74,7 +74,8 @@ jobs:
|
||||
|
||||
# ── Build & restart ──
|
||||
cd "$DEPLOY_DIR"
|
||||
docker compose up -d --build --remove-orphans
|
||||
docker compose down --remove-orphans || true
|
||||
docker compose up -d --build
|
||||
|
||||
# ── Migrations ──
|
||||
docker compose exec -T app alembic upgrade head
|
||||
|
||||
Reference in New Issue
Block a user