From 60bc601bb47123a3e9e77a7d17e16d8800968852 Mon Sep 17 00:00:00 2001 From: dlswns2480 Date: Thu, 29 Aug 2024 00:37:05 +0900 Subject: [PATCH] =?UTF-8?q?fix=20:=20=ED=8F=AC=ED=8A=B8=20=EC=B6=A9?= =?UTF-8?q?=EB=8F=8C=20=EB=B2=84=EA=B7=B8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/api-deploy.yml | 3 +-- entry/batch/src/main/kotlin/com/pokit/BatchApplication.kt | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/api-deploy.yml b/.github/workflows/api-deploy.yml index 98b5b8b0..26c91425 100644 --- a/.github/workflows/api-deploy.yml +++ b/.github/workflows/api-deploy.yml @@ -6,6 +6,7 @@ on: - feature/db-config - main - develop + - fix/#147 env: DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} @@ -46,8 +47,6 @@ jobs: echo "${{ secrets.APPLICATION_CORE }}" > ./application/src/main/resources/application-core.yml mkdir -p ./adapters/in-web/src/main/resources echo "${{ secrets.APPLICATION_IN_WEB_YML }}" > ./application/src/main/resources/application-in-web.yml - mkdir -p ./adapters/in-batch/src/main/resources - echo "${{ secrets.APPLICATION_IN_BATCH }}" > ./application/src/main/resources/application-in-batch.yml - name: Build with Gradle run: ./gradlew :entry:web:build --no-daemon diff --git a/entry/batch/src/main/kotlin/com/pokit/BatchApplication.kt b/entry/batch/src/main/kotlin/com/pokit/BatchApplication.kt index c9accfc4..4ed58ef9 100644 --- a/entry/batch/src/main/kotlin/com/pokit/BatchApplication.kt +++ b/entry/batch/src/main/kotlin/com/pokit/BatchApplication.kt @@ -11,6 +11,6 @@ import org.springframework.scheduling.annotation.EnableScheduling class BatchApplication fun main(args: Array) { - System.setProperty("spring.config.name", "application-out-web, application-core, application-out-persistence, application-in-batch") + System.setProperty("spring.config.name", "application-out-web, application-core, application-out-persistence, application-entry-batch") runApplication(*args) }