Skip to content

.github/workflows/healthCheck.yml #12

.github/workflows/healthCheck.yml

.github/workflows/healthCheck.yml #12

Workflow file for this run

name: "[운영] 헬스체크"
on:
schedule:
- cron: "0 0 */3 * *"
jobs:
healthcheck:
runs-on: ubuntu-latest
steps:
- name: API Health Check
id: health_check
uses: jtalk/url-health-check-action@v3
with:
url: ${{ secrets.BASE_URI_PROD }}
max-attempts: 3
retry-delay: 1s
- name: Discord Webhook Action
if: always()
uses: tsickert/[email protected]
with:
webhook-url: ${{ secrets.WEBHOOK_URL }}
content: ${{ job.status }}