From b6bbdf05d0dd20fbe66acd49bd7d51b638821fbb Mon Sep 17 00:00:00 2001 From: c0smosaur Date: Thu, 6 Jun 2024 16:54:15 +0900 Subject: [PATCH] =?UTF-8?q?[FIX]=20CICD=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - redis 설정 비공개 처리 --- .github/workflows/cicd.yml | 3 +++ src/main/resources/application-test.yml | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index 16b7459..9a448ad 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -32,6 +32,9 @@ jobs: sed -i "s|# MYSQL_URL|url: '${{ secrets.MYSQL_URL }}'|" src/main/resources/application-test.yml sed -i "s|# MYSQL_USERNAME|username: '${{ secrets.MYSQL_USERNAME }}'|" src/main/resources/application-test.yml sed -i "s|# MYSQL_PASSWORD|password: '${{ secrets.MYSQL_PASSWORD }}'|" src/main/resources/application-test.yml + sed -i "s|# REDIS_HOST|host: '${{ secrets.REDIS_HOST }}'|" src/main/resources/application-test.yml + sed -i "s|# REDIS_PORT|port: '${{ secrets.REDIS_PORT }}'|" src/main/resources/application-test.yml + sed -i "s|# REDIS_PASSWORD|password: '${{ secrets.REDIS_PASSWORD }}'|" src/main/resources/application-test.yml sed -i "s|# SMTP_EMAIL|username: '${{ secrets.SMTP_EMAIL }}'|" src/main/resources/application-test.yml sed -i "s|# SMTP_PASSWORD|password: '${{ secrets.SMTP_PASSWORD }}'|" src/main/resources/application-test.yml sed -i "s|# SMTP_HOST|host: '${{ secrets.SMTP_HOST }}'|" src/main/resources/application-test.yml diff --git a/src/main/resources/application-test.yml b/src/main/resources/application-test.yml index 8c85362..a7f267a 100644 --- a/src/main/resources/application-test.yml +++ b/src/main/resources/application-test.yml @@ -10,9 +10,9 @@ spring: database-platform: org.hibernate.dialect.MySQLDialect show-sql: true redis: - host: redis - port: 6379 - password: redis!1234 + # REDIS_HOST + # REDIS_PORT + # REDIS_PASSWORD repositories: enabled: false