diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 183b008..369e2b4 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -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