verbose curl req
This commit is contained in:
@@ -139,7 +139,7 @@ jobs:
|
||||
|
||||
for i in {1..1200}; do
|
||||
echo "Checking server health ($i/1200)..."
|
||||
response=$(curl --silent --fail --write-out "%{http_code}" ${{ env.NEXT_PUBLIC_WEBAPP_URL }}/auth/login)
|
||||
response=$(curl --silent --fail --write-out "%{http_code}" -v ${{ env.NEXT_PUBLIC_WEBAPP_URL }}/auth/login)
|
||||
if [[ "$response" == "200" ]]; then
|
||||
echo "Server is healthy"
|
||||
# Now, shutdown the server
|
||||
|
||||
Reference in New Issue
Block a user