lighthouse
Some checks failed
deploy to production / deploy (push) Failing after 1m21s

This commit is contained in:
Robin Grenzdörfer 2023-12-06 07:54:35 +00:00
parent b8835193d6
commit 4845343309

View File

@ -98,7 +98,11 @@ jobs:
while ! curl --output /dev/null --silent --head --fail http://127.0.0.1:8081; do
if [ $attempts -eq $max_attempts ]; then
echo "Live server not ready after $max_attempts attempts"
echo "Printing container logs:"
docker logs live-server-container
echo "Printing contents of the working directory in the container:"
docker exec live-server-container ls -la /usr/src/app
exit 1
fi
attempts=$((attempts+1))