From ad2ef80522b308374a0aa5e8cd7c7841f042d7e9 Mon Sep 17 00:00:00 2001 From: jooinjoo Date: Fri, 6 Dec 2024 18:22:08 +0900 Subject: [PATCH] =?UTF-8?q?MATE-90=20:=20[CHORE]=20deploy.yml=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index daec0dec..b60f1667 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -15,10 +15,12 @@ jobs: distribution: temurin java-version: 17 + - name: Check if secret exists + if: "${{ secrets.APPLICATION_PROPERTIES != '' }}" + run: echo "Secret is set" + - name: application-dev.yml 파일 만들기 - run: | - echo "secrets: ${{ secrets.APPLICATION_PROPERTIES }}" # 값 확인 - echo "${{ secrets.APPLICATION_PROPERTIES }}" > ./src/main/resources/application.yml + run: echo "${{ secrets.APPLICATION_PROPERTIES }}" > ./src/main/resources/application.yml - name: 테스트 및 빌드하기 run: |