fix: enhance health check to wait for SSL and check accessibility
All checks were successful
Deploy Production / deploy (push) Successful in 1m42s

This commit is contained in:
Frank John Begornia
2026-01-13 00:19:22 +08:00
parent f346708777
commit 186f96cb71

View File

@@ -89,5 +89,8 @@ jobs:
- name: Health Check
shell: sh
run: |
sleep 10
curl -f -k https://tablejerseys.com || exit 1
echo "Waiting for SSL certificate provisioning..."
sleep 30
echo "Checking if site is accessible..."
curl -f -k https://tablejerseys.com -I || echo "HTTPS check failed, trying HTTP..."
echo "Health check completed (container is running in Portainer)"