Skip to content

Commit

Permalink
Merge pull request #70 from studio-recoding/dev
Browse files Browse the repository at this point in the history
[🔧fix] CICD 환경 변수 에러 수정
  • Loading branch information
JeonHaeseung authored May 16, 2024
2 parents b8cf9b6 + c88f04b commit 666b247
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/dev-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@ jobs:
- name: Grant execute permission for gradlew
run: chmod +x gradlew

## Copy properties files
- name: Make application.yml
run: |
echo "$PROFILE_DEV" > ./src/main/resources/application.yml
# Make env file
env:
PROFILE_DEV: ${{ secrets.PROFILE_DEV }}

## Copy properties files
- name: Make application-dev.yml
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/prod-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ jobs:
## Copy properties files
- name: Make application.yml
run: |
echo "PROFILE_PROD" > ./src/main/resources/application.yml
echo "$PROFILE_PROD" > ./src/main/resources/application.yml
# Make env file
env:
PROPERTIES_PROD: ${{ secrets.PROFILE_PROD }}
PROFILE_PROD: ${{ secrets.PROFILE_PROD }}

## Copy properties files
- name: Make application-prod.yml
Expand Down

0 comments on commit 666b247

Please sign in to comment.