diff --git a/scripts/git-incremental-deploy.ps1 b/scripts/git-incremental-deploy.ps1 index 86f5b28a..19c30380 100644 --- a/scripts/git-incremental-deploy.ps1 +++ b/scripts/git-incremental-deploy.ps1 @@ -755,8 +755,12 @@ PROD_SCRIPT if [ "$TARGET" = "production" ]; then log "Checking public FRP endpoints after deployment" curl -fsS --max-time 12 "$PUBLIC_APP_URL/api/health" >/tmp/git-deploy-public-health.json - curl -fsS --max-time 12 "https://s3.jiansun.vip/minio/health/live" >/tmp/git-deploy-public-s3-health.txt - ok "Public FRP endpoints are healthy" + ok "Public application endpoint is healthy" + if curl -fsS --max-time 12 "https://s3.jiansun.vip/minio/health/live" >/tmp/git-deploy-public-s3-health.txt; then + ok "Public S3 endpoint is healthy" + else + warn "Public S3 endpoint is unhealthy; application deployment succeeded, check the storage tunnel separately" + fi fi else warn "Skipping production deployment by request"