diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 28f820fb..6b57da4a 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -13,11 +13,22 @@ jobs: uses: appleboy/ssh-action@v1.2.0 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 diff --git a/src/main/resources/application-common.yml b/src/main/resources/application-common.yml index 44e2aab4..4e204977 100644 --- a/src/main/resources/application-common.yml +++ b/src/main/resources/application-common.yml @@ -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} \ No newline at end of file