From 7b3b36c20654c9c96e8058a8be7cbd0a99f69e65 Mon Sep 17 00:00:00 2001 From: jooinjoo Date: Fri, 6 Dec 2024 18:37:04 +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 | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 8420aa8e..15f5f90b 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -15,23 +15,13 @@ jobs: distribution: temurin java-version: 17 - - name: Verify secret - run: | - if [ -z "${{ secrets.APPLICATION_PROPERTIES }}" ] - then - echo "❌ Secret is empty" - exit 1 - else - echo "✅ Secret exists" - fi - - name: application-dev.yml 파일 만들기 run: echo "${{ secrets.APPLICATION_PROPERTIES }}" > ./src/main/resources/application.yml - name: 테스트 및 빌드하기 run: | chmod +x gradlew - ./gradlew clean build -Dspring.profiles.active=dev + ./gradlew clean build - name: AWS Resource에 접근할 수 있게 AWS credentials 설정 uses: aws-actions/configure-aws-credentials@v4