Skip to content

Commit

Permalink
Merge pull request #26 from Wedit-project/feat/#25-oauth-yml파일-추가
Browse files Browse the repository at this point in the history
[feat] Oauth.yml 파일 추가
  • Loading branch information
dyk-im authored Jan 22, 2025
2 parents 4289468 + 33db012 commit 2888863
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,15 +69,15 @@ jobs:
shell: bash

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

# 환경별 yml 파일 생성(5) - jwt
- name: make application-jwt.yml
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, jwt", "/app.jar"]
ENTRYPOINT ["java", "-jar", "-Dspring.profiles.active=dev, bucket, jwt, oauth", "/app.jar"]

0 comments on commit 2888863

Please sign in to comment.