Skip to content

Commit

Permalink
Chore: DB, mybatis 환경변수 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
diddnwjd committed Jan 31, 2024
1 parent 7e793bd commit 350b885
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ jobs:

env:
JWT_SECRET_KEY: ${{ secrets.JWT_SECRET_KEY }}
DB_USERNAME: ${{ secrets.DB_USERNAME }}
DB_PASSWORD: ${{ secrets.DB_PASSWORD }}

steps:
# 작업에서 액세스할 수 있도록 $GITHUB_WORKSPACE에서 저장소를 체크아웃합니다.
Expand Down
8 changes: 8 additions & 0 deletions src/main/resources/application.properties
Original file line number Diff line number Diff line change
@@ -1 +1,9 @@
spring.profiles.include=dev

# aws rds
spring.datasource.url=jdbc:mysql://culpop.c7w6eoa627sa.ap-northeast-2.rds.amazonaws.com:3306/culpop_backend?useSSL=false&characterEncoding=UTF-8&serverTimezone=UTC
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver

# mybatis
mybatis.type-aliases-package=com.ixxp.culpop.entity
mybatis.mapper-locations=mapper/**/*.xml

0 comments on commit 350b885

Please sign in to comment.