DockerSpace / .github /workflows /keepalive.yml
DennisChan0909's picture
Add keepalive workflow (14min) + update frontend build
024c6e1
Raw
History Blame Contribute Delete
405 Bytes
name: Keep Alive
on:
schedule:
- cron: '*/14 * * * *' # every 14 minutes (Render sleeps at 15min)
workflow_dispatch: # manual trigger
jobs:
ping:
runs-on: ubuntu-latest
steps:
- name: Ping health endpoint
run: |
curl -sf --max-time 30 \
https://stock-predictor-1oyc.onrender.com/health \
&& echo "OK" || echo "WARN: ping failed"