Skip to content

Keep Supabase Alive #123

Keep Supabase Alive

Keep Supabase Alive #123

Workflow file for this run

name: Keep Supabase Alive
on:
schedule:
# Run twice daily: UTC 01:00 and 13:00 (Beijing time 09:00 and 21:00)
- cron: '0 1,13 * * *'
workflow_dispatch: # Allow manual trigger
jobs:
keep-alive:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run keep-alive script
env:
SUPABASE_URL: ${{ secrets.SUPABASE_URL }}
SUPABASE_SERVICE_ROLE_KEY: ${{ secrets.SUPABASE_SERVICE_ROLE_KEY }}
run: node scripts/keep-alive.mjs