Files
Letters/.gitea/workflows/keepactive.yml
T
biss bf27f6dbdc
Vercel Deploy / deploy (push) Successful in 1m44s
baohuo
2026-04-30 17:01:09 +08:00

18 lines
417 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
name: Supabase Keep Alive
on:
schedule:
- cron: "0 0 */3 * *" # 每3天一次(UTC
workflow_dispatch:
jobs:
ping:
runs-on: ubuntu-latest
steps:
- name: Ping Supabase
run: |
curl -sS -f \
"${SUPABASE_URL}/rest/v1/your_table_name?select=id&limit=1" \
-H "apikey: ${SUPABASE_ANON_KEY}" \
-H "Authorization: Bearer ${SUPABASE_ANON_KEY}"