Skip to content

Commit

Permalink
Merge pull request #64 from SWM-WeLike2Coding/fix/cicd
Browse files Browse the repository at this point in the history
fix: github actions ci cd의 yml 파일 수정
  • Loading branch information
kjungw1025 authored Sep 8, 2024
2 parents 39117c6 + 21ded2a commit 922d033
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,13 @@ jobs:

- name: Make test properties
env:
PROPERTIES: ${{ secrets.PROPERTIES_TEST }}
PROPERTIES: ${{ secrets.PROPERTIES }}
PROPERTIES_TEST: ${{ secrets.PROPERTIES_TEST }}
run: |
mkdir -p ./src/test/resources && cd "$_"
touch ./application.yml
echo $PROPERTIES | base64 --decode > application.yml
echo $PROPERTIES_TEST | base64 --decode > application-test.yml
shell: bash

- name: Setup Gradle
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/dev_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,14 @@ jobs:

- name: Make test properties
env:
PROPERTIES: ${{ secrets.PROPERTIES_TEST }}
PROPERTIES: ${{ secrets.PROPERTIES }}
PROPERTIES_TEST: ${{ secrets.PROPERTIES_TEST }}
run: |
mkdir -p ./src/test/resources && cd "$_"
touch ./application.yml
touch ./application-test.yml
echo $PROPERTIES | base64 --decode > application.yml
echo $PROPERTIES_TEST | base64 --decode > application-test.yml
shell: bash

- name: Setup Gradle
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/prod_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,14 @@ jobs:

- name: Make test properties
env:
PROPERTIES: ${{ secrets.PROPERTIES_TEST }}
PROPERTIES: ${{ secrets.PROPERTIES }}
PROPERTIES_TEST: ${{ secrets.PROPERTIES_TEST }}
run: |
mkdir -p ./src/test/resources && cd "$_"
touch ./application.yml
touch ./application-test.yml
echo $PROPERTIES | base64 --decode > application.yml
echo $PROPERTIES_TEST | base64 --decode > application-test.yml
shell: bash

- name: Setup Gradle
Expand Down

0 comments on commit 922d033

Please sign in to comment.