diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 678d2e2..93ea26b 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -39,6 +39,9 @@ jobs: spring.datasource.password: ${{ secrets.DB_PASSWORD }} spring.datasource.driver-class-name: ${{ secrets.DB_DRIVER }} spring.jwt.secret: ${{ secrets.JWT_SECRET }} + spring.data.redis.host: ${{secrets.REDIS_HOST}} + spring.data.redis.port: ${{secrets.REDIS_PORT}} + #gradlew 실행을 위한 권한 추가 diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index dbe4048..9654ff9 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -19,8 +19,8 @@ spring: data: redis: - host: localhost - port: 6379 + host: ${redis_host} + port: ${redis_port} logging: level: