Skip to content

Commit 671ffbe

Browse files
committed
work
1 parent 0c77c27 commit 671ffbe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ jobs:
249249
# 5) 헬스체크 (/actuator/health 200 OK까지 대기))
250250
# ---------------------------------------------------------
251251
echo "⏱ health-check: ${GREEN}"
252-
TIMEOUT=120
252+
TIMEOUT=180 #
253253
INTERVAL=3
254254
ELAPSED=0
255255
sleep 8 # 초기 부팅 여유
@@ -260,7 +260,7 @@ jobs:
260260
sleep "${INTERVAL}"
261261
ELAPSED=$((ELAPSED + INTERVAL))
262262
done
263-
[[ "${CODE:-000}" == "200" ]] || { echo "❌ ${GREEN} health failed"; docker logs --tail=200 "${GREEN}" || true; }
263+
[[ "${CODE:-000}" == "200" ]] || { echo "❌ ${GREEN} health failed"; docker logs --tail=200 "${GREEN}" || true; docker rm -f "${GREEN}" || true; exit 1; }
264264
265265
# ---------------------------------------------------------
266266
# 6) 업스트림 전환 (forward_host/forward_port만 업데이트)

0 commit comments

Comments
 (0)