Skip to content

Commit 5715c21

Browse files
committed
fix: fix healthcheck
1 parent dfca98a commit 5715c21

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/cd-app-develop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Deploy to NCP
33
on:
44
push:
55
branches:
6-
- develop
6+
- docs/swagger
77

88
jobs:
99
build-deploy:

noweekend-core/core-api/src/main/kotlin/noweekend/core/api/controller/HealthController.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import org.springframework.web.bind.annotation.RestController
99
class HealthController {
1010
@GetMapping("/health")
1111
fun health(): ResponseEntity<*> {
12-
return ResponseEntity.status(HttpStatus.OK).build<Any>()
12+
return ResponseEntity.status(HttpStatus.OK)
13+
.body("ok")
1314
}
1415
}

0 commit comments

Comments
 (0)