Skip to content

Commit

Permalink
fix : 포트 충돌 버그 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
dlswns2480 committed Aug 28, 2024
1 parent 60bc601 commit 3403cef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/batch-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ jobs:
echo "${{ secrets.APPLICATION_CORE }}" > ./application/src/main/resources/application-core.yml
mkdir -p ./adapters/in-batch/src/main/resources
echo "${{ secrets.APPLICATION_IN_BATCH_YML }}" > ./application/src/main/resources/application-in-batch.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:batch:build --no-daemon
Expand Down
2 changes: 1 addition & 1 deletion entry/batch/src/main/kotlin/com/pokit/BatchApplication.kt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ import org.springframework.scheduling.annotation.EnableScheduling
class BatchApplication

fun main(args: Array<String>) {
System.setProperty("spring.config.name", "application-out-web, application-core, application-out-persistence, application-entry-batch")
System.setProperty("spring.config.name", "application-out-web, application-core, application-out-persistence, application-in-batch")
runApplication<BatchApplication>(*args)
}

0 comments on commit 3403cef

Please sign in to comment.