Skip to content

Commit 6dbf07e

Browse files
committed
Chore: 백엔드 CD 파일 수정
- 인스턴스 ID 체크 삭제
1 parent 9c7dd81 commit 6dbf07e

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

.github/workflows/backend-cd.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -110,12 +110,8 @@ jobs:
110110
working-directory: /
111111
comment: Deploy
112112
command: |
113-
114113
set -Eeuo pipefail
115114
116-
# 1. EC2 인스턴스 아이디 확인
117-
echo "INSTANCE_ID=${INSTANCE_ID}"
118-
119115
# 3. 실행 로그(라인 타임스탬프 부착)
120116
LOG="/tmp/ssm-$(date +%Y%m%d_%H%M%S).log"
121117
exec > >(awk '{ fflush(); print strftime("[%Y-%m-%d %H:%M:%S]"), $0 }' | tee -a "$LOG")

infra/terraform/main.tf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,8 @@ sudo sh -c 'echo "/swapfile swap swap defaults 0 0" >> /etc/fstab'
198198
echo "PASSWORD=${var.password_1}" >> /etc/environment
199199
echo "DOMAIN=${var.catfe_domain_1}" >> /etc/environment
200200
echo "GITHUB_ACCESS_TOKEN_OWNER=${var.github_access_token_1_owner}" >> /etc/environment
201-
ehco "GITHUB_ACCESS_TOKEN=${var.github_access_token_1}" >> /etc/environment
201+
echo "GITHUB_ACCESS_TOKEN=${var.github_access_token_1}" >> /etc/environment
202+
202203
# EC2 환경변수 등록
203204
source /etc/environment
204205

0 commit comments

Comments
 (0)