caelum0x 389a7255ea feat: Rithub release 1.1.0, works without the GitHub repo
README rewritten around three steps (table SQL, secrets, self-contained
workflow), with a vendored full-script workflow, a crontab example and an
npx-from-git CLI. Every link and uses: line that pointed at the 404 GitHub
repo is gone. keepalive.sh no longer prints the anon key outside GitHub
Actions (::add-mask:: only when GITHUB_ACTIONS=true).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-17 14:21:23 +03:00

31 lines
984 B
YAML

# Several free projects from one repository. Each project gets its own pair of secrets:
# SUPABASE_URL_APP / SUPABASE_ANON_KEY_APP, SUPABASE_URL_BLOG / SUPABASE_ANON_KEY_BLOG, ...
# Uses the vendored script; see full-checks.yml for the one-time setup.
name: Keep Supabase projects alive
on:
schedule:
- cron: "41 7 * * *"
workflow_dispatch:
permissions:
contents: read
actions: read
jobs:
ping:
runs-on: ubuntu-latest
strategy:
fail-fast: false # one paused project must not hide the others
matrix:
project: [APP, BLOG, STAGING]
steps:
- uses: actions/checkout@v5
- name: Keep-alive ping (${{ matrix.project }})
env:
INPUT_URL: ${{ secrets[format('SUPABASE_URL_{0}', matrix.project)] }}
INPUT_ANON_KEY: ${{ secrets[format('SUPABASE_ANON_KEY_{0}', matrix.project)] }}
INPUT_TABLE: keepalive
INPUT_GITHUB_TOKEN: ${{ github.token }}
run: bash .github/keepalive.sh