Skip to content

Ping Supabase to Prevent Pausing #998

Ping Supabase to Prevent Pausing

Ping Supabase to Prevent Pausing #998

Workflow file for this run

name: Ping Supabase to Prevent Pausing
on:
schedule:
- cron: '0 */6 * * *'
workflow_dispatch:
jobs:
ping:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
- name: Install Supabase Client
run: npm install @supabase/supabase-js --force
- name: Ping Supabase
env:
SUPABASE_URL: ${{ secrets.NEXT_PUBLIC_SUPABASE_URL }}
SUPABASE_KEY: ${{ secrets.NEXT_SERVICE_ROLE_KEY }}
run: node .github/scripts/ping-supabase.js