Skip to content

Commit

Permalink
fix: CD 수행 시 jar 파일이 생성되지 않는 버그 수정 (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
seokjin8678 authored Dec 23, 2023
1 parent 7c822ea commit 870603e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/cd-back-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- name: set timezone
uses: szenius/[email protected]
with:
timezoneLinux: "Asia/Seoul"

- name: repository checkout
uses: actions/checkout@v3
with:
Expand All @@ -30,6 +35,9 @@ jobs:
- name: assign grant gradlew
run: chmod +x gradlew

- name: build with gradle for rest docs
run: ./gradlew build

- name: build with gradle
run: ./gradlew build

Expand All @@ -41,7 +49,7 @@ jobs:
key: ${{secrets.SCKR_DEV_SSH_KEY}}
source: "./build/libs/*.jar"
target: ${{ vars.SCKR_DEV_JAR_DIR }}
strip_components: 3
strip_components: 2

- name: run application use ssh
uses: appleboy/ssh-action@master
Expand Down
4 changes: 4 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -114,3 +114,7 @@ allOpen {
annotation("jakarta.persistence.Embeddable")
annotation("jakarta.persistence.MappedSuperclass")
}

tasks.jar {
enabled = false
}

0 comments on commit 870603e

Please sign in to comment.