diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index efec5709..b0f31f78 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -496,11 +496,11 @@ jobs: curl -sf "$DEPLOY_URL/health" || { echo "❌ Basic health check failed"; exit 1; } echo "✅ Basic health OK" echo "Checking CMS DB connectivity..." - RESPONSE_HEADERS=$(curl -sfI "$DEPLOY_URL/api/health/cms?gk_bypass=$GK_PASS" 2>&1) - RESPONSE=$(curl -sf "$DEPLOY_URL/api/health/cms?gk_bypass=$GK_PASS" 2>&1) || { + RESPONSE_HEADERS=$(curl -sfI "$DEPLOY_URL/api/health/cms?gk_bypass=$GK_PASS&cb=$(date +%s)" 2>&1) + RESPONSE=$(curl -sf "$DEPLOY_URL/api/health/cms?gk_bypass=$GK_PASS&cb=$(date +%s)" 2>&1) || { echo "❌ CMS health check failed!" echo "--- RESPONSE HEADERS ---" - curl -sI "$DEPLOY_URL/api/health/cms?gk_bypass=$GK_PASS" + curl -sI "$DEPLOY_URL/api/health/cms?gk_bypass=$GK_PASS&cb=$(date +%s)" echo "--- RESPONSE BODY ---" echo "$RESPONSE" echo ""