Update deployment script to ensure containers are stopped before rebuilding
Some checks failed
Test & Deploy API / test (push) Successful in 1m43s
Test & Deploy API / deploy (push) Failing after 9s

This commit is contained in:
2026-03-03 18:05:18 +01:00
parent ea75d0d2c7
commit 8d8d35868b

View File

@@ -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