Skip to content

Commit

Permalink
healthcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
rr-tri committed Dec 1, 2023
1 parent 5232eeb commit 6d09ccf
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 30 deletions.
30 changes: 0 additions & 30 deletions .github/workflows/schedule.yml

This file was deleted.

19 changes: 19 additions & 0 deletions .github/workflows/schedule_healthcheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Periodic Health Check

on:
schedule:
- cron: '0 * * * *' # Schedule the workflow to run every 24 hours

jobs:
health_check:
runs-on: ubuntu-latest
steps:
- name:
run : echo "This step will run on every one minute"
- name: Perform Health Check
uses: jtalk/url-health-check-action@v3
with:
url: 'https://full-stack-open-pokedex-7vtq.onrender.com'
follow-redirect: false
max-attempts: 3
retry-delay: 5s

0 comments on commit 6d09ccf

Please sign in to comment.