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) }