Skip to content

Commit

Permalink
Merge pull request #22 from Wedit-project/feat/#21-GitAction-jwt-yml-추가
Browse files Browse the repository at this point in the history
[fix] jwt yml 파일 설정
  • Loading branch information
dyk-im authored Jan 19, 2025
2 parents 7847fc8 + 2fc2563 commit 4289468
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
echo "${{ secrets.YML_BUCKET }}" > ./application-bucket.yml
shell: bash

# 환경별 yml 파일 생성(3) - oauth
# 환경별 yml 파일 생성(4) - oauth
#- name: make application-oauth.yml
# if: |
# contains(github.ref, 'develop') ||
Expand All @@ -79,16 +79,16 @@ jobs:
# echo "${{ secrets.YML_OAUTH }}" > ./application-oauth.yml
# shell: bash

# 환경별 yml 파일 생성(3) - jwt
#- name: make application-jwt.yml
# if: |
# contains(github.ref, 'develop') ||
# (github.event_name == 'pull_request')
# run: |
# cd ./src/main/resources
# touch ./application-jwt.yml
# echo "${{ secrets.YML_JWT }}" > ./application-jwt.yml
# shell: bash
# 환경별 yml 파일 생성(5) - jwt
- name: make application-jwt.yml
if: |
contains(github.ref, 'develop') ||
(github.event_name == 'pull_request')
run: |
cd ./src/main/resources
touch ./application-jwt.yml
echo "${{ secrets.YML_JWT }}" > ./application-jwt.yml
shell: bash

# Gradle Build (test는 제외)
- name: Build with Gradle
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ ARG JAR_FILE=build/libs/*.jar
COPY ${JAR_FILE} app.jar

# 운영 및 개발에서 사용되는 환경 설정을 분리
ENTRYPOINT ["java", "-jar", "-Dspring.profiles.active=dev, bucket", "/app.jar"]
ENTRYPOINT ["java", "-jar", "-Dspring.profiles.active=dev, bucket, jwt", "/app.jar"]

0 comments on commit 4289468

Please sign in to comment.