We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 70f2332 commit a731397Copy full SHA for a731397
.github/workflows/gradle.yml
@@ -196,10 +196,10 @@ jobs:
196
- name: Health Check
197
run: |
198
# Wait for deployment to stabilize
199
- sleep 30
+ sleep 20
200
201
# Attempt to call health endpoint (replace with your actual health endpoint)
202
- HEALTH_STATUS=$(curl -s -o /dev/null -w "%{http_code}" http://${{ secrets.EC2_HOST }}:8081/actuator/health || echo "failed")
+ HEALTH_STATUS=$(curl -s -o /dev/null -w "%{http_code}" https://${{ secrets.EC2_HOST }}:8081/actuator/health || echo "failed")
203
204
if [ "$HEALTH_STATUS" == "200" ]; then
205
echo "Application is healthy!"
0 commit comments