Skip to content

Keep Supabase Alive #29

Keep Supabase Alive

Keep Supabase Alive #29

Workflow file for this run

name: Keep Supabase Alive
on:
schedule:
- cron: '0 */12 * * *' # Runs every 12 hours
workflow_dispatch: # Allows manual triggering
jobs:
keep-alive:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
- name: Install dependencies
run: |
cd keep-alive
npm install
- name: Run keep-alive script
env:
SUPABASE_URL: ${{ secrets.SUPABASE_URL }}
SUPABASE_ANON_KEY: ${{ secrets.SUPABASE_ANON_KEY }}
run: |
cd keep-alive
node keep-alive.js
continue-on-error: true # Prevents workflow failure if script errors