Skip to content

Commit cba97b0

Browse files
committed
chore: CD 수정
- 로그 파일이 저장되는 디렉토리(/tmp) 내부 파일이 인스턴스가 꺼지고 다시 켜지게 되면 날아가는 현상 수정
1 parent c44a261 commit cba97b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/Backend-CD.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ jobs:
228228
# ---------------------------------------------------------
229229
# 0) 실행 로그(라인 타임스탬프 부착)
230230
# ---------------------------------------------------------
231-
LOG="/tmp/ssm-$(date +%Y%m%d_%H%M%S).log"
231+
LOG="/var/log/relife/ssm-$(date +%Y%m%d_%H%M%S).log"
232232
exec > >(awk '{ fflush(); print strftime("[%Y-%m-%d %H:%M:%S]"), $0 }' | tee -a "$LOG")
233233
exec 2> >(awk '{ fflush(); print strftime("[%Y-%m-%d %H:%M:%S]"), $0 }' | tee -a "$LOG" >&2)
234234

0 commit comments

Comments
 (0)