Skip to content

Keep Services Alive

Keep Services Alive #9

Workflow file for this run

name: Keep Services Alive
on:
schedule:
# Every 3 days at 12:00 AM UTC
- cron: '0 0 */3 * *'
# Allow manual run from GitHub Actions tab
workflow_dispatch:
jobs:
keepalive:
runs-on: ubuntu-latest
steps:
- name: Ping Backend Health
run: |
curl -fsSL \
https://breakarena-backend.onrender.com/health
- name: Ping Backend Database
run: |
curl -fsSL \
-H "x-cron-secret: ${{ secrets.CRON_SECRET }}" \
https://breakarena-backend.onrender.com/health/ping_db
- name: Ping Frontend
run: |
curl -fsSL \
https://break-arena.vercel.app/