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
|
- name: Health Check
|
||||||
shell: sh
|
shell: sh
|
||||||
run: |
|
run: |
|
||||||
sleep 10
|
echo "Waiting for SSL certificate provisioning..."
|
||||||
curl -f -k https://tablejerseys.com || exit 1
|
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