From be73a2980b6c8d588f1b3a5078a4993656adeebf Mon Sep 17 00:00:00 2001 From: "DESKTOP-TJJRH84\\whdgn" Date: Wed, 10 Jan 2024 14:00:50 +0900 Subject: [PATCH] =?UTF-8?q?CD=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/CD.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/CD.yml b/.github/workflows/CD.yml index f8c8f72f..2ef9b7fa 100644 --- a/.github/workflows/CD.yml +++ b/.github/workflows/CD.yml @@ -30,10 +30,22 @@ jobs: java-version: '17' distribution: 'temurin' - - name: Gradle 빌드 + - name: .env.example 파일을 .env로 복사 + run: cp .env.example .env + shell: bash + + - name: gradlew에 실행권한 부여 run: chmod +x ./gradlew shell: bash + - name: Gradle 빌드 및 테스트 실행 + run: ./gradlew build + shell: bash + + - name: .env 파일 제거 + run: rm .env + shell: bash + - name: Spring boot jar 생성 run: ./gradlew build shell: bash