diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 20147bc3a5..1c9a4d49c7 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -177,7 +177,7 @@ jobs: attempt=0 success=0 while [ $attempt -lt $max_attempts ]; do - response=$(docker compose exec appwrite sh -c "curl -I \$_APP_EXECUTOR_HOST/health -H \"Authorization: Bearer \$_APP_EXECUTOR_SECRET\"") + response=$(command "docker compose exec appwrite sh -c \"curl -I \$_APP_EXECUTOR_HOST/health -H \\"Authorization: Bearer \$_APP_EXECUTOR_SECRET\\"\")" || echo '0') if echo $response | grep -q '200 OK'; then success=1 break