diff --git a/.gitea/workflows/health_check.yml b/.gitea/workflows/health_check.yml index f8fafbb..6ae21e1 100644 --- a/.gitea/workflows/health_check.yml +++ b/.gitea/workflows/health_check.yml @@ -12,7 +12,7 @@ jobs: run: | success=false for i in $(seq 1 5); do - response=$(curl -s -o /dev/null -w "%{\http_code}" http://172.16.10.176:8888/health/API) + response=$(curl -s -o /dev/null -w "%{http_code}" http://172.16.10.176:8888/health/API) content=$(curl -s http://172.16.10.176:8888/health/API) if [ "$response" -eq 200 ] && echo "$content" | grep -q "ok"; then