From bf27f6dbdcbacfd94719f8900a7415d36759a6ac Mon Sep 17 00:00:00 2001 From: biss Date: Thu, 30 Apr 2026 17:01:09 +0800 Subject: [PATCH] baohuo --- .gitea/workflows/keepactive.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .gitea/workflows/keepactive.yml diff --git a/.gitea/workflows/keepactive.yml b/.gitea/workflows/keepactive.yml new file mode 100644 index 0000000..03bd824 --- /dev/null +++ b/.gitea/workflows/keepactive.yml @@ -0,0 +1,18 @@ +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}" \ No newline at end of file