Skip to content

Commit

Permalink
fix: ci/cd 디폴트 경로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
Arachneee committed Jul 18, 2024
1 parent b9cbe78 commit febb69e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/backend-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ jobs:
contents: read

steps:
- uses: actions/checkout@v4
- name: CheckOut
uses: actions/checkout@v4

- name: Set up JDK 17
uses: actions/setup-java@v4
with:
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/backend-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,15 @@ jobs:
contents: read

steps:
- uses: actions/checkout@v4
- name: CheckOut
uses: actions/checkout@v4

- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
cache: gradle

- name: Setup Gradle
uses: gradle/actions/setup-gradle@417ae3ccd767c252f5661f1ace9f835f9654f2b5 # v3.1.0
Expand All @@ -43,8 +46,8 @@ jobs:

- name: Build and push
run: |
docker buildx build ./ --platform=linux/arm64 -t ${{ secrets.DOCKER_USERNAME }}/haengdong-backend-dev:latest .
docker push ${{ secrets.DOCKER_USERNAME }}/haengdong-backend-dev:latest
docker buildx build --platform linux/arm64 -t \
${{ secrets.DOCKER_USERNAME }}/haengdong-backend-dev --push .
deploy:
needs: build
Expand Down
1 change: 0 additions & 1 deletion server/src/main/java/server/haengdong/domain/CiCd.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@

public class CiCd {


}

0 comments on commit febb69e

Please sign in to comment.