Skip to content

Commit

Permalink
Feat: 설정값 외부 주입을 위한 deploy.yaml 파일 재수정 (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
morenow98 authored Jan 16, 2024
1 parent d685166 commit f560a5a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ on:

env:
S3_BUCKET_NAME: bookitlist-deploy
RESOURCE_PATH: ./src/main/resources/application.yaml
RESOURCE_PATH1: ./src/main/resources/application.yaml
RESOURCE_PATH2: ./src/main/resources/application-oauth.yaml
CODE_DEPLOY_APPLICATION_NAME: bookitlist-deploy
CODE_DEPLOY_DEPLOYMENT_GROUP_NAME: bookitlist-deploy

Expand Down Expand Up @@ -35,7 +36,7 @@ jobs:
- name: Set yaml file
uses: microsoft/variable-substitution@v1
with:
files: ${{ env.RESOURCE_PATH }}
files: ${{ env.RESOURCE_PATH1 }}, ${{ env.RESOURCE_PATH2 }}
env:
spring.datasource.url: ${{ secrets.RDS_ENDPOINT }}
spring.datasource.username: ${{ secrets.RDS_USERNAME }}
Expand Down

0 comments on commit f560a5a

Please sign in to comment.