Skip to content

Commit

Permalink
[#128] fix: 누락된 환경 변수 주입 및 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
hyerinhwang-sailin committed Jul 17, 2024
1 parent b1eb1fa commit 14bebc9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/dev-CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ jobs:
DEV_REDIS_HOST: ${{ secrets.DEV_REDIS_HOST }}
DEV_S3_ACCESS_KEY: ${{ secrets.DEV_S3_ACCESS_KEY }}
DEV_S3_SECRET_KEY: ${{ secrets.DEV_S3_SECRET_KEY }}
DEV_COOLSMS_KEY: ${{ secrets.DEV_COOLSMS_KEY }}
DEV_COOLSMS_NUMBER: ${{ secrets.DEV_COOLSMS_NUMBER }}
DEV_COOLSMS_SECRET: ${{ secrets.DEV_COOLSMS_SECRET }}
run: |
cd ./src/main/resources
envsubst < application-dev.yml > application-dev.tmp.yml && mv application-dev.tmp.yml application-dev.yml
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/prod-CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ jobs:
PROD_REDIS_HOST: ${{ secrets.PROD_REDIS_HOST }}
PROD_S3_ACCESS_KEY: ${{ secrets.PROD_S3_ACCESS_KEY }}
PROD_S3_SECRET_KEY: ${{ secrets.PROD_S3_SECRET_KEY }}
PROD_COOLSMS_KEY: ${{ secrets.PROD_COOLSMS_KEY }}
PROD_COOLSMS_NUMBER: ${{ secrets.PROD_COOLSMS_NUMBER }}
PROD_COOLSMS_SECRET: ${{ secrets.PROD_COOLSMS_SECRET }}
run: |
cd ./src/main/resources
envsubst < application-prod.yml > application-prod.tmp.yml && mv application-prod.tmp.yml application-prod.yml
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/application-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ spring:

data:
redis:
host: redis
host: beat-dev-redis
port: 6379

security:
Expand Down

0 comments on commit 14bebc9

Please sign in to comment.