update
Some checks failed
Backend EC - Modal Deployment / build-and-push (push) Successful in 9m21s
Backend EC - Modal Deployment / notify-deploy (push) Failing after 2m14s

This commit is contained in:
DatTT127
2026-07-19 23:30:57 +07:00
parent 4244c4175c
commit d3d91998ab
2 changed files with 31 additions and 0 deletions

View File

@@ -106,4 +106,18 @@ jobs:
sleep 2
done
echo "[deploy] Waiting for Caddy HTTPS endpoint"
for i in {1..30}; do
if curl -sk https://deploy.lumina-msk.io.vn/health > /dev/null 2>&1; then
echo "[deploy] Caddy HTTPS endpoint is healthy"
break
fi
if [ "$i" -eq 30 ]; then
echo "[deploy] Caddy HTTPS endpoint failed health check"
docker logs caddy || true
exit 1
fi
sleep 2
done
echo "[deploy] Deployment completed successfully"