fix: enhance health check to wait for SSL and check accessibility
All checks were successful
Deploy Production / deploy (push) Successful in 1m42s
All checks were successful
Deploy Production / deploy (push) Successful in 1m42s
This commit is contained in:
@@ -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)"
|
||||
|
||||
Reference in New Issue
Block a user