Skip to content

Commit

Permalink
fix: submodule 업데이트 실패하는 문제 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
yujamint committed Jun 28, 2024
1 parent 5d42033 commit e2a6ff9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ jobs:
- name: 체크아웃
uses: actions/checkout@v4
with:
submodules: recursive
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
submodules: true
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}

- name: JDK 11 설치
uses: actions/setup-java@v4
Expand Down
8 changes: 6 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
FROM amazoncorretto:11-alpine-jdk
EXPOSE 8080
COPY ./build/libs/Qtudy-server-0.0.1-SNAPSHOT.jar /app.jar
CMD ["java", "-jar", "app.jar", "--spring.profiles.active=stage"]
WORKDIR application
COPY ./dependencies ./
COPY ./spring-boot-loader ./
COPY ./snapshot-dependencies ./
COPY ./application ./
CMD ["java", "-Dspring.profiles.active=stage", "org.springframework.boot.loader.JarLauncher"]

0 comments on commit e2a6ff9

Please sign in to comment.