Skip to content

Commit

Permalink
Merge pull request #80 from CoolPeace-yanolza/develop
Browse files Browse the repository at this point in the history
CD 변경
  • Loading branch information
whdgns5059 authored Jan 10, 2024
2 parents e7fbb7e + 8968e67 commit 51b067a
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 51b067a

Please sign in to comment.