Skip to content

Commit

Permalink
build: 실서버에서의 redis 연동을 위해 서버 엔드포인트 및 설정 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
parkje0927 committed Jul 17, 2023
1 parent f3cc719 commit c766ea1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
spring.datasource.url: ${{ secrets.DB_URL }}
spring.datasource.username: ${{ secrets.DB_USERNAME }}
spring.datasource.password: ${{ secrets.DB_PASSWORD }}
spring.data.redis.host: ${{ secrets.REDIS_HOST }}

- name: Grant execute permission for gradlew And Build with Gradle
run: chmod +x ./gradlew && ./gradlew :oversweet-api:build
Expand Down
2 changes: 1 addition & 1 deletion oversweet-api/src/main/resources/application-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ spring:
# Redis
data:
redis:
host: localhost
host: ${redis_host}
port: 6379

0 comments on commit c766ea1

Please sign in to comment.