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 624425d commit 1333c48
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/batch-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,7 @@ jobs:
mkdir -p ./application/src/main/resources
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 }}" > ./adapters/in-batch/src/main/resources/application-adapters-in-batch.yml
echo "${{ secrets.APPLICATION_IN_BATCH_YML }}" > ./adapters/in-batch/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-in-batch, application-adapters-in-batch")
System.setProperty("spring.config.name", "application-out-web, application-core, application-out-persistence, application-in-batch")
runApplication<BatchApplication>(*args)
}

0 comments on commit 1333c48

Please sign in to comment.