From f1b89e5a64e2766d6c1c8d950f1e5df872b01554 Mon Sep 17 00:00:00 2001 From: NetworkCats Date: Sun, 8 Mar 2026 01:04:37 +0800 Subject: [PATCH] fix: remove extra quotes from docker inspect format in health check --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index fea8f99..eddb82f 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -141,7 +141,7 @@ jobs: echo "Active deployment color: ${DEPLOY_COLOR}" for i in $(seq 1 30); do status=$(ssh $SSH_OPTS "$VPS_HOST" \ - "docker inspect --format='{{ '{{' }}.State.Health.Status{{ '}}' }}' rustyip-app-${DEPLOY_COLOR}" 2>/dev/null) || true + "docker inspect --format {{ '{{' }}.State.Health.Status{{ '}}' }} rustyip-app-${DEPLOY_COLOR}" 2>/dev/null) || true if [ "$status" = "healthy" ]; then echo "Deployment verified: app-${DEPLOY_COLOR} is healthy" exit 0