health-check #25831
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |