Skip to content

health-check

health-check #25795

Workflow file for this run

name: health-check
"on":
workflow_dispatch:
schedule:
# every hour (cf. https://crontab.guru/#0_*_*_*_*)
- cron: "0 * * * *"
jobs:
health-check:
runs-on: ubuntu-latest
steps:
- run: curl -sSfL https://ytsub-v3-hiro18181.vercel.app/dev/health-check-db | jq --exit-status
health-check-staging:
runs-on: ubuntu-latest
steps:
# no fixed url for the latest staging (aka preview deploy), so we use a fixed old deployment
- run: curl -sSfL https://ytsub-v3-hiro18181-bo7xw0w6b-hiogawa.vercel.app/dev/health-check-db | jq --exit-status