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 da72900 commit 60bc601
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/api-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
- feature/db-config
- main
- develop
- fix/#147

env:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
Expand Down Expand Up @@ -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
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")
System.setProperty("spring.config.name", "application-out-web, application-core, application-out-persistence, application-entry-batch")
runApplication<BatchApplication>(*args)
}

0 comments on commit 60bc601

Please sign in to comment.