From aac46917ae4630ef3beee74b25395403057dddb7 Mon Sep 17 00:00:00 2001 From: Khyojun <38220795+khyojun@users.noreply.github.com> Date: Sun, 19 Jan 2025 20:37:34 +0900 Subject: [PATCH 1/4] =?UTF-8?q?[hotfix]=20mkdir=20=EC=8A=A4=ED=81=AC?= =?UTF-8?q?=EB=A6=BD=ED=8A=B8=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/gongbaek-cd.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/gongbaek-cd.yml b/.github/workflows/gongbaek-cd.yml index bd877fb..55d2f9c 100644 --- a/.github/workflows/gongbaek-cd.yml +++ b/.github/workflows/gongbaek-cd.yml @@ -22,6 +22,7 @@ jobs: - name: Push yml file run: | + mkdir -p ./src/main/resources echo ${{ secrets.YML }} > ./src/main/resources/application-prod.yml - name: Build with Gradle From 4ed2a61c5483f5a21b7e8480611b7e98c66fea21 Mon Sep 17 00:00:00 2001 From: Khyojun Date: Sun, 19 Jan 2025 20:41:17 +0900 Subject: [PATCH 2/4] =?UTF-8?q?[hotfix]=20ls=20-l=20=EC=9D=84=20=ED=86=B5?= =?UTF-8?q?=ED=95=B4=20=ED=8C=8C=EC=9D=BC=20=EA=B5=AC=EC=A1=B0=20=ED=95=9C?= =?UTF-8?q?=EB=B2=88=20=EC=82=B4=ED=8E=B4=EB=B3=B4=EB=8A=94=20=EB=AA=85?= =?UTF-8?q?=EB=A0=A4=EC=96=B4=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/gongbaek-cd.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/gongbaek-cd.yml b/.github/workflows/gongbaek-cd.yml index 55d2f9c..a97bcc2 100644 --- a/.github/workflows/gongbaek-cd.yml +++ b/.github/workflows/gongbaek-cd.yml @@ -23,6 +23,7 @@ jobs: - name: Push yml file run: | mkdir -p ./src/main/resources + ls -l echo ${{ secrets.YML }} > ./src/main/resources/application-prod.yml - name: Build with Gradle From a0d7b299c6be7e0908cc6c56b1d4f94382dfc596 Mon Sep 17 00:00:00 2001 From: Khyojun <38220795+khyojun@users.noreply.github.com> Date: Sun, 19 Jan 2025 20:47:38 +0900 Subject: [PATCH 3/4] =?UTF-8?q?[hotfix]=20=ED=8C=8C=EC=9D=BC=EC=9D=B4=20?= =?UTF-8?q?=EC=A0=9C=EB=8C=80=EB=A1=9C=20=EB=93=A4=EC=96=B4=EA=B0=94?= =?UTF-8?q?=EB=8A=94=EC=A7=80=20=ED=99=95=EC=9D=B8=ED=95=98=EB=8A=94=20?= =?UTF-8?q?=EB=A1=9C=EC=A7=81=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/gongbaek-cd.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/gongbaek-cd.yml b/.github/workflows/gongbaek-cd.yml index a97bcc2..32cacc8 100644 --- a/.github/workflows/gongbaek-cd.yml +++ b/.github/workflows/gongbaek-cd.yml @@ -25,6 +25,7 @@ jobs: mkdir -p ./src/main/resources ls -l echo ${{ secrets.YML }} > ./src/main/resources/application-prod.yml + cat ./src/main/resources/application-prod.yml - name: Build with Gradle run: ./gradlew -x test clean build From af6f92b7d04a03dc0f1ea5749862980ecf81af63 Mon Sep 17 00:00:00 2001 From: Khyojun Date: Sun, 19 Jan 2025 20:52:50 +0900 Subject: [PATCH 4/4] [hotfix] debug echo & change property name --- .github/workflows/gongbaek-cd.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/gongbaek-cd.yml b/.github/workflows/gongbaek-cd.yml index 32cacc8..509b91f 100644 --- a/.github/workflows/gongbaek-cd.yml +++ b/.github/workflows/gongbaek-cd.yml @@ -20,11 +20,17 @@ jobs: - name: Grant execute permission for gradlew run: chmod +x gradlew + - name: Debug Secrets + run: | + echo "Secrets YML value:" + echo "${{ secrets.PROD_CONFIG }}" + - name: Push yml file run: | mkdir -p ./src/main/resources ls -l - echo ${{ secrets.YML }} > ./src/main/resources/application-prod.yml + echo ${{ secrets.PROD_CONFIG }} > ./src/main/resources/application-prod.yml + echo "hello is yml file push success?" cat ./src/main/resources/application-prod.yml - name: Build with Gradle