update building
Some checks failed
Test & Deploy Waitlist / test (push) Successful in 37s
Test & Deploy Waitlist / deploy (push) Failing after 51s

This commit is contained in:
Roberto Musso
2026-04-11 14:41:16 +02:00
parent 74c3298bd4
commit 77e02b4e86
3 changed files with 7 additions and 33 deletions

View File

@@ -75,13 +75,12 @@ jobs:
exit 1
fi
# ── Build & restart (app only — keep DB running) ──
# ── Build & restart ──
cd "$DEPLOY_DIR"
docker compose up -d --build --no-deps db # ensure DB is running
docker compose build app # rebuild app image
docker compose up -d --no-deps app # restart only app container
docker compose build app
docker compose up -d --no-deps --force-recreate app
# ── Migrations ──
# ── Migrations (runs inside the container) ──
docker compose exec -T app alembic upgrade head
# ── Health check ──