Skip to content

Commit

Permalink
Merge pull request #502 from jminkkk/fix/ci_mysql
Browse files Browse the repository at this point in the history
CI 시에 db yml 가져오는 step 추가
  • Loading branch information
HoeSeong123 authored Aug 20, 2024
2 parents 7a1652d + ffa420c commit 31167df
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/backend_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ jobs:
mysql version: ${{ secrets.MYSQL_VERSION }}
mysql database: ${{ secrets.MYSQL_DATABASE }}
mysql root password: ${{ secrets.MYSQL_PASSWORD }}

- name: DB 설정 파일 가져오기
working-directory: /backend/src/main/resources
run: echo "${{ secrets.APPLICATION_DB_YAML }}" > application-db.yml

- name: JDK 17 설정
uses: actions/setup-java@v4
Expand Down
2 changes: 0 additions & 2 deletions backend/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ dependencies {
annotationProcessor 'org.projectlombok:lombok'

runtimeOnly 'com.mysql:mysql-connector-j:9.0.0'
runtimeOnly 'com.h2database:h2'

implementation 'org.flywaydb:flyway-core'
implementation 'org.flywaydb:flyway-mysql'

Expand Down

0 comments on commit 31167df

Please sign in to comment.