Skip to content

Commit a731397

Browse files
committed
[FEAT] server host 수정
1 parent 70f2332 commit a731397

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/gradle.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,10 +196,10 @@ jobs:
196196
- name: Health Check
197197
run: |
198198
# Wait for deployment to stabilize
199-
sleep 30
199+
sleep 20
200200
201201
# 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")
202+
HEALTH_STATUS=$(curl -s -o /dev/null -w "%{http_code}" https://${{ secrets.EC2_HOST }}:8081/actuator/health || echo "failed")
203203
204204
if [ "$HEALTH_STATUS" == "200" ]; then
205205
echo "Application is healthy!"

0 commit comments

Comments
 (0)