Skip to content

Commit

Permalink
Merge pull request #12 from YeolJyeongKong/11-cd-secrets-resolve
Browse files Browse the repository at this point in the history
CD : secrets 참조 에러
  • Loading branch information
yooniversal authored Jul 26, 2023
2 parents fab5569 + fdd37a8 commit 985a618
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,17 +63,17 @@ jobs:
--s3-location bucket=$S3_BUCKET_NAME,key=$GITHUB_SHA.zip,bundleType=zip
# application.yml
- name: make application.yml
- name: make application.yml
run: touch ./src/main/resources/application.yml
shell: bash
- name: deliver application.yml
run: echo "${{ secrets.APP_SECRET }}" > ./src/main/resources/application.yml
shell: bash
env:
APPLICATION: ${{ secrets.APP_SECRET }}
run: echo $APPLICATION >> ./src/main/resources/application.yml

# application-oauth.yml
- name: make application-oauth.yml
run: touch ./src/main/resources/application-oauth.yml
shell: bash
- name: deliver application-oauth.yml
run: echo "${{ secrets.APP_OAUTH_SECRET }}" > ./src/main/resources/application-oauth.yml
shell: bash
env:
APPLICATION_OAUTH: ${{ secrets.APP_OAUTH_SECRET }}
run: echo $APPLICATION_OAUTH >> ./src/main/resources/application-oauth.yml

0 comments on commit 985a618

Please sign in to comment.