TempuraML's picture
ci: add self-gating deploy + keep-warm workflows (Stage B scaffolding)
6237108
Raw
History Blame Contribute Delete
589 Bytes
name: Keep Warm
# The free HF Space sleeps after idle; the partner then eats a multi-minute cold
# start on the first quote. A daily /health ping keeps it warm. Scheduled runs
# only fire from the default branch (main). Public endpoint — no secret needed.
on:
schedule:
- cron: "0 13 * * *" # 13:00 UTC daily (~7am Central)
workflow_dispatch: {}
jobs:
ping:
runs-on: ubuntu-latest
steps:
- name: Ping production /health
run: |
curl -fsS --retry 4 --retry-delay 15 --max-time 120 \
https://tempuraml-lawn-estimator.hf.space/health