Skip to content

Commit

Permalink
fix: gradlew로 서브모듈 복사하도록 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
haroya01 committed Jul 25, 2024
1 parent f282c78 commit be20451
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/ci-cd-develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,18 @@ jobs:
java-version: 17
distribution: 'zulu'

- name: copy application.yml files from submodule
run: |
mkdir -p src/main/resources
cp -r BE-hubo-gillajabi-resources/resources/application*.yml src/main/resources/
# - name: copy application.yml files from submodule
# run: |
# mkdir -p src/main/resources
# cp -r BE-hubo-gillajabi-resources/resources/application*.yml src/main/resources/

- name: Grant execute permission for gradlew
run: chmod +x ./gradlew

- name: bootJar with gradle
run: ./gradlew bootJar
- name: copy resources and bootJar with gradle
run: |
./gradlew copyResources copyTestResources
./gradlew bootJar
- name: update release
uses: release-drafter/release-drafter@v6
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile-dev
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ FROM openjdk:17

COPY build/libs/gillajabi-0.0.1-SNAPSHOT.jar app.jar

EXPOSE 8090
EXPOSE 8080

ENTRYPOINT ["java", "-Dspring.profiles.active=dev", "-jar", "app.jar"]

0 comments on commit be20451

Please sign in to comment.