Skip to content

Commit

Permalink
롤백 실패시 알림 테스트
Browse files Browse the repository at this point in the history
  • Loading branch information
robinjoon committed Sep 19, 2024
1 parent bc3cb9f commit 3592556
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/backend_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ jobs:
runs-on: ubuntu-latest
needs:
- healthCheckB
if: ${{needs.healthCheckB.result == 'failure'}}
if: ${{failure() && needs.healthCheckB.result == 'failure'}}
steps:
- name: Extract Commit Title
run: |
Expand Down Expand Up @@ -267,7 +267,7 @@ jobs:
runs-on: ubuntu-latest
needs:
- healthCheckAAfterRollBack
if: ${{needs.healthCheckAAfterRollBack.result == 'failure'}}
if: ${{failure() && needs.healthCheckAAfterRollBack.result == 'failure'}}
steps:
- name: Extract Commit Title
run: |
Expand Down
2 changes: 0 additions & 2 deletions backend/src/main/java/develup/api/HealthApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ public class HealthApi {

@GetMapping("/health")
public ResponseEntity<ApiResponse<String>> health() {


return ResponseEntity.status(400).body(new ApiResponse<>("up"));
}
}

0 comments on commit 3592556

Please sign in to comment.