Skip to content

Commit

Permalink
MATE-84 : [FIX] yml 파일 변경 (#74)
Browse files Browse the repository at this point in the history
MATE-84 : [FIX] yml 파일 변경
  • Loading branch information
juchan204 authored Dec 3, 2024
1 parent 377e4f4 commit fb6bcac
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,22 @@ jobs:
uses: appleboy/[email protected]
env:
APPLICATION_PROPERTIES: ${{ secrets.APPLICATION_PROPERTIES }}
NAVER_CLIENT_ID: ${{ secrets.NAVER_CLIENT_ID }}
NAVER_REDIRECT_URI: ${{ secrets.NAVER_REDIRECT_URI }}
NAVER_CLIENT_SECRET: ${{ secrets.NAVER_CLIENT_SECRET }}
JWT_SECRET_KEY: ${{ secrets.JWT_SECRET_KEY }}
OPENWEATHER_API_KEY: ${{ secrets.OPENWEATHER_API_KEY }}
with:
host: ${{ secrets.EC2_HOST }}
username: ${{ secrets.EC2_USERNAME }}
key: ${{ secrets.EC2_PRIVATE_KEY }}
envs: APPLICATION_PROPERTIES
envs: |
APPLICATION_PROPERTIES
NAVER_CLIENT_ID
NAVER_REDIRECT_URI
NAVER_CLIENT_SECRET
JWT_SECRET_KEY
OPENWEATHER_API_KEY
script_stop: true
script: |
cd /home/ubuntu/WEB1_2_PitchingMate_BE
Expand Down
17 changes: 17 additions & 0 deletions src/main/resources/application-common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,20 @@ springdoc:
packages-to-scan: com.example.mate
default-consumes-media-type: application/json
default-produces-media-type: application/json

logging:
level:
root: INFO
com.example.mate: DEBUG

oauth:
naver_client_id: ${NAVER_CLIENT_ID}
naver_redirect_uri: ${NAVER_REDIRECT_URI}
naver_client_secret: ${NAVER_CLIENT_SECRET}

jwt:
secret_key: ${JWT_SECRET_KEY}

openweather:
api:
key: ${OPENWEATHER_API_KEY}

0 comments on commit fb6bcac

Please sign in to comment.