Retry deployment health check
All checks were successful
CI / check (push) Successful in 18s
CI / deploy (push) Successful in 25s

This commit is contained in:
kacper 2026-04-15 06:30:38 -04:00
parent 9049d367ea
commit 56077a22b7

View file

@ -119,5 +119,12 @@ jobs:
cd /opt/robot-u-site cd /opt/robot-u-site
./scripts/check_deploy_config.py ./scripts/check_deploy_config.py
docker compose up --build -d docker compose up --build -d
curl -fsS http://127.0.0.1:8800/health for attempt in $(seq 1 30); do
if curl -fsS http://127.0.0.1:8800/health; then
exit 0
fi
sleep 2
done
docker compose logs --tail=100 robot-u-site
exit 1
' '