Skip to content

Commit 3dcced1

Browse files
committed
๐Ÿฉน fix : yml ํŒŒ์ผ properties ๋กœ ๋ณ€๊ฒฝ
1 parent 27b1c51 commit 3dcced1

1 file changed

Lines changed: 3 additions & 20 deletions

File tree

โ€Ž.github/workflows/deploy.ymlโ€Ž

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -27,29 +27,12 @@ jobs:
2727
- name: add application-yml # yml ๊ฒฝ๋กœ ๋ฐ ํŒŒ์ผ ์ถ”๊ฐ€
2828
run: |
2929
mkdir -p ./src/main/resources
30-
touch ./src/main/resources/application.yml
31-
echo "${{ secrets.APP_YML_BASE64 }}" | base64 --decode > ./src/main/resources/application.yml
30+
touch ./src/main/resources/application.properties
31+
echo "${{ secrets.APP_PROPERTIES }}" > ./src/main/resources/application.properties
3232
find src
3333
34-
- name: check placeholders in APP_YML
35-
run: |
36-
echo "${{ secrets.APP_YML }}" > checkfile.yml
37-
38-
echo "===== Checking whether JWT_EXP, JWT_KEY ๋“ฑ์ด ๋“ค์–ด์žˆ๋Š”์ง€ ====="
39-
grep -n 'jwt:' checkfile.yml || true
40-
grep -n 'expiration: ${JWT_EXP}' checkfile.yml || true
41-
grep -n 'secret:' checkfile.yml || true
42-
43-
echo "===== Checking done. ====="
44-
45-
- name: check application-yml # yml ๋‚ด์šฉ ํ™•์ธ
46-
run: |
47-
echo "${{ secrets.APP_YML }}" > ./src/main/resources/application.yml
48-
echo "==== application.yml ๋‚ด์šฉ ํ™•์ธ ===="
49-
cat src/main/resources/application.yml
50-
5134
- name: Build with Gradle # ์ฒดํฌ์•„์›ƒํ•œ ์ฝ”๋“œ๋“ค์„ ๊ธฐ๋ฐ˜์œผ๋กœ ๊ทธ๋ž˜๋“ค ๋นŒ๋“œ
52-
run: ./gradlew build
35+
run: ./gradlew build -x test
5336

5437
- name: Check resources
5538
run: |

0 commit comments

Comments
ย (0)