Skip to content

Commit

Permalink
Fix : dev_deploy.yml 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
hyeonda02 committed Aug 14, 2024
1 parent da0e548 commit 445895b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .ebextensions-dev/00-makeFiles.config
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ files:

# run app
killalljava
java -Dfile.encoding=UTF-8 -Dspring.profiles.active=dev -jar $JAR_PATH
java -Dfile.encoding=UTF-8 -jar $JAR_PATH
3 changes: 3 additions & 0 deletions .github/workflows/dev_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ jobs:
- name: Build with Gradle
run: ./gradlew clean build -x test
shell: bash
env:
SPRING_PROFILES_ACTIVE: dev


- name: Get current time
uses: 1466587594/get-current-time@v2
Expand Down
3 changes: 1 addition & 2 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
spring:
profiles:
include: dev, local
active: local
active: ${SPRING_PROFILES_ACTIVE}

api:
server:
Expand Down

0 comments on commit 445895b

Please sign in to comment.