Skip to content

Commit

Permalink
Chore: 경로 확인
Browse files Browse the repository at this point in the history
  • Loading branch information
5jisoo committed Jan 20, 2024
1 parent a5ebdec commit 28009f6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 15 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,15 @@ jobs:
run: ./gradlew test

- name: Build with Gradle
run: ./gradlew build
run: ./gradlew clean build

- name: jar 파일 빌드 풀어보기
run: jar xvf ./build/libs/pochak-0.0.1-SNAPSHOT.jar
shell: bash

- name: 경로 확인
run: ls -al ./build/libs/
shell: bash

- name: static 파일 확인
run: ls -al ./build/libs/BOOT-INF/classes/static
Expand Down
15 changes: 1 addition & 14 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ ext {
snippetsDir = file('build/generated-snippets')
}


asciidoctor {
dependsOn test
configurations 'asciidoctorExt'
Expand All @@ -73,25 +72,13 @@ asciidoctor.doFirst {
}

bootJar {
dependsOn asciidoctor
copy {
from("${asciidoctor.outputDir}")
into 'src/main/resources/static/docs'
}
}

tasks.register('copyApiDocument') {
dependsOn asciidoctor
copy {
from "${asciidoctor.outputDir}"
into 'BOOT-INF/classes/static/docs'
}
copy {
from "${asciidoctor.outputDir}"
from("${asciidoctor.outputDir}")
into 'src/main/resources/static/docs'
}
}

build {
dependsOn copyApiDocument
}

0 comments on commit 28009f6

Please sign in to comment.