lighthouse
Some checks failed
deploy to production / deploy (push) Failing after 48s

This commit is contained in:
Robin Grenzdörfer 2023-12-06 09:20:36 +00:00
parent 5a9d8305c4
commit be587c2564

View File

@ -88,6 +88,9 @@ jobs:
while ! curl --output /dev/null --silent --head --fail http://live-server:8081; do while ! curl --output /dev/null --silent --head --fail http://live-server:8081; do
if [ $attempts -eq $max_attempts ]; then if [ $attempts -eq $max_attempts ]; then
echo "Live server not ready after $max_attempts attempts" echo "Live server not ready after $max_attempts attempts"
ping live-server
nslookup live-server
nc -z live-server 8081
curl -v http://live-server:8081 curl -v http://live-server:8081
exit 1 exit 1
fi fi