From cb42de722f61406e845268e7c3db353c76de96fe Mon Sep 17 00:00:00 2001 From: Kpa-clawbot <259247574+Kpa-clawbot@users.noreply.github.com> Date: Thu, 26 Mar 2026 23:47:16 -0700 Subject: [PATCH] fix: remove stale staging container before compose up Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .github/workflows/deploy.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index e98a96b6..2174d600 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -206,7 +206,8 @@ jobs: cp docker-compose.yml /opt/meshcore-deploy/docker-compose.yml # Run compose from the repo checkout (where docker-compose.yml lives) - docker compose --profile staging up -d --force-recreate staging + docker rm -f meshcore-staging 2>/dev/null || true +docker compose --profile staging up -d staging # Wait for Docker healthcheck — give it up to 5 minutes (big DB) for i in $(seq 1 300); do