diff --git a/.gitea/workflows/ci-cd.yml b/.gitea/workflows/ci-cd.yml index fe7d2c9..fc38c2a 100644 --- a/.gitea/workflows/ci-cd.yml +++ b/.gitea/workflows/ci-cd.yml @@ -91,7 +91,10 @@ jobs: DOCKER_BUILDKIT: 1 - name: Deploy - run: docker compose up -d --no-deps --force-recreate api + run: | + docker stop drsousan_api 2>/dev/null || true + docker rm drsousan_api 2>/dev/null || true + docker compose up -d --no-deps api - name: Wait for healthy run: |