Skip to content

Commit

Permalink
chore: 헬스체크 디스코드 disable
Browse files Browse the repository at this point in the history
  • Loading branch information
dldmsql committed Sep 14, 2024
1 parent 293fa23 commit c90397b
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions .github/workflows/healthCheck.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
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 }}
#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 }}

0 comments on commit c90397b

Please sign in to comment.