Skip to content

Commit e62a8ba

Browse files
committed
fix: gradle.yml 파일 수정
- 자동 배포를 위한 yml 파일 수정 - 컴포즈 명령어 수정
1 parent da9e855 commit e62a8ba

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/gradle.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ jobs:
4646
4747
# Spring 컨테이너만 다시 빌드 & 실행
4848
cd /home/ubuntu/docker
49-
sudo docker-compose -f docker-compose.yml build --no-cache spring
50-
sudo docker-compose -f docker-compose.yml up -d spring
49+
sudo docker-compose build --no-cache spring
50+
sudo docker-compose up -d spring
5151
5252
# 불필요한 이미지 정리
5353
sudo docker image prune -f

src/main/java/org/dfbf/soundlink/global/Controller.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ public class Controller {
1414
// health check
1515
@GetMapping("/health")
1616
public ResponseResult health() {
17-
return new ResponseResult(ErrorCode.SUCCESS,"ok");
17+
return new ResponseResult(ErrorCode.SUCCESS,"ok2");
1818
}
1919
}

0 commit comments

Comments
 (0)