Skip to content

Commit 87cb58d

Browse files
authored
[infra] deploy.yml 파일에 ga4-service-account.json 파일 연결하는 -v 옵션 추가 (#201)
* work * work
1 parent c62d7d7 commit 87cb58d

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,7 @@ jobs:
243243
--restart unless-stopped \
244244
--network "${NET}" \
245245
-e TZ=Asia/Seoul \
246+
-v /resources/ga4-service-account.json:/app/ga4-service-account.json \
246247
"${IMAGE}"
247248
248249
# ---------------------------------------------------------

infra/terraform/main.tf

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -222,11 +222,6 @@ echo "PASSWORD_1=${var.password}" >> /etc/environment
222222
echo "APP_1_DOMAIN=${var.morimori_domain}" >> /etc/environment
223223
echo "GITHUB_ACCESS_TOKEN_1_OWNER=${var.github_access_token_owner}" >> /etc/environment
224224
echo "GITHUB_ACCESS_TOKEN_1=${var.github_access_token}" >> /etc/environment
225-
echo "DB_HOST=${aws_db_instance.rds_postgres.endpoint}" >> /etc/environment
226-
echo "DB_PORT=5432" >> /etc/environment
227-
echo "DB_NAME=morimori" >> /etc/environment
228-
echo "DB_USERNAME=${var.db_username}" >> /etc/environment
229-
echo "DB_PASSWORD=${var.db_password}" >> /etc/environment
230225
source /etc/environment
231226
232227
# 도커 설치 및 실행/활성화

0 commit comments

Comments
 (0)