Skip to content

Commit

Permalink
Chore: 과릿 1.1.5 (#324)
Browse files Browse the repository at this point in the history
* Chore: 과릿 1.1.5 (#317)
  • Loading branch information
dl-00-e8 authored Nov 16, 2023
1 parent a6ee683 commit f77dc85
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/release-health-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: "Release Health Check"

on:
# 매 3시간마다 수행
schedule:
- cron: "0 0 */3 * *"

jobs:
healthcheck:
# ubuntu 버전 지정
runs-on: ubuntu-22.04
steps:
# 릴리즈 서버 헬스 체크 진행
- name: Release API Health Check
uses: jtalk/url-health-check-action@v3
with:
url: ${{ secrets.RELEASE_URI }}
max-attempts: 3 # 시도 횟수
retry-delay: 1s # 시도 간격

# 헬스 체크 결과 슬랙으로 연동
- name: action-slack
uses: 8398a7/action-slack@v3
with:
status: ${{ job.status }}
author_name: Github Action Health Check
fields: repo,message,commit,action,eventName,ref,workflow,job,took # 보낼 정보들
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} # required
if: always() # 스크립트 성공/실패 여부에 상관없이 항상 수행되도록 설정

0 comments on commit f77dc85

Please sign in to comment.