Skip to content

Commit

Permalink
Feat: 데이터베이스의 ddl-auto 를 외부에서 주입하도록 변경 (#81)
Browse files Browse the repository at this point in the history
#80 - feat: 데이터베이스의 ddl-auto 를 외부에서 주입하도록 변경 (#81)
  • Loading branch information
morenow98 authored Feb 6, 2024
1 parent cc594c2 commit 6445bb1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ jobs:
spring.security.oauth2.client.registration.kakao.client-secret: ${{ secrets.KAKAO_CLIENT_SECRET }}
auth.jwt.secretKey: ${{ secrets.JWT_SECRET }}
api.aladin.key: ${{ secrets.ALADIN_KEY }}
spring.jpa.hibernate.ddl-auto: ${{ secrets.DDL_AUTO }}

- name: Grant execute permission for gradlew
run: chmod +x ./gradlew
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ spring:
jpa:
open-in-view: false
hibernate:
ddl-auto: create
ddl-auto: ${DDL_AUTO}
properties:
dialect: org.hibernate.dialect.MySQL8InnoDBDialect
defer-datasource-initialization: true
Expand All @@ -30,4 +30,4 @@ auth:
jwt:
secretKey: ${JWT_SECRET}
accessExp: 3600000
refreshExp: 604800000
refreshExp: 604800000

0 comments on commit 6445bb1

Please sign in to comment.