Skip to content

Commit 74c1b9b

Browse files
committed
refactor: 배포 스크립트 수정
1 parent ff9cd54 commit 74c1b9b

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/dev_deploy.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,12 @@ jobs:
2424
# 3) Gradle 실행 권한 부여
2525
- name: Grant execute permission for gradlew
2626
run: chmod +x ./gradlew
27+
working-directory: ./backend
2728

2829
# 4) Gradle 빌드
2930
- name: Build with Gradle
3031
run: ./gradlew clean build
32+
working-directory: ./backend
3133

3234
# 4) Docker Hub 로그인
3335
- name: Login to Docker Hub
@@ -40,7 +42,7 @@ jobs:
4042
- name: Build and push Docker image
4143
uses: docker/build-push-action@v3
4244
with:
43-
context: .
45+
context: ./backend
4446
push: true
4547
tags: ${{ secrets.DOCKER_USERNAME }}/withmorning:latest # Docker Hub에 올릴 이미지 태그
4648

0 commit comments

Comments
 (0)