Skip to content

Commit

Permalink
Chore: yml 파일 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
5jisoo committed Jan 20, 2024
1 parent 4e24ba6 commit ee00db9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,6 @@ jobs:
with:
arguments: build
build-root-directory: /home/runner/work/2023-POCHAK-server/2023-POCHAK-server/pochak

- name: 빌드 확인
run: ls -l /home/runner/work/2023-POCHAK-server/2023-POCHAK-server/pochak/build/libs
shell: bash

- name: Make zip file
run: zip -qq -r ./$GITHUB_SHA.zip .
Expand Down
12 changes: 6 additions & 6 deletions pochak/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@ asciidoctor.doFirst {

bootJar {
dependsOn asciidoctor
}

tasks.register('copyApiDocument') {
dependsOn asciidoctor
copy {
from "${asciidoctor.outputDir}"
into 'BOOT-INF/classes/static/docs'
Expand All @@ -82,13 +86,9 @@ bootJar {
from "${asciidoctor.outputDir}"
into 'src/main/resources/static/docs'
}
}

tasks.register('copyApiDocument') {
dependsOn asciidoctor
copy {
from "${asciidoctor.outputDir}"
into 'BOOT-INF/classes/static/docs'
from file("build/docs/asciidoc")
into file("BOOT-INF/classes/static/docs")
}
copy {
from file("build/docs/asciidoc")
Expand Down
1 change: 1 addition & 0 deletions scripts/stop.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

PROJECT_ROOT="/home/ubuntu/pochakapp"
JAR_FILE="$PROJECT_ROOT/pochak/build/libs/pochak-0.0.1-SNAPSHOT.jar"
JAR_ROOT="$PROJECT_ROOT/pochak/build/libs/"

DEPLOY_LOG="$PROJECT_ROOT/deploy.log"

Expand Down

0 comments on commit ee00db9

Please sign in to comment.