Keep Supabase Alive #30
This file contains hidden or 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: Keep Supabase Alive | |
| on: | |
| schedule: | |
| # Runs every day at 8:00 AM UTC | |
| - cron: "0 8 * * *" | |
| workflow_dispatch: # Allow manual trigger | |
| jobs: | |
| ping: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Ping Supabase via backend | |
| run: | | |
| curl -sf --max-time 30 \ | |
| "${{ secrets.BACKEND_URL }}/api/health?ping_db=true" \ | |
| || echo "Ping failed, but workflow won't block" |