Skip to content

Commit 11369a7

Browse files
Merge pull request #66 from Eric-Zhang-Developer/fix/cron-job-syntax
fix: cron syntax
2 parents 1962548 + e0fe5d3 commit 11369a7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/supabase-keep-alive-ping.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
name: Supabase Keep-Alive Ping
22
on:
33
schedule:
4-
# Runs at 00:00 UTC every Monday, Wednesday, and Sunday
5-
- cron: "0 0 * * 1,3,7"
4+
# Runs at 00:00 UTC every Sunday, Wednesday, and Friday
5+
- cron: "0 0 * * 0,3,5"
66
workflow_dispatch:
77

88
jobs:
@@ -14,6 +14,6 @@ jobs:
1414
NEXT_PUBLIC_SUPABASE_URL: ${{ secrets.NEXT_PUBLIC_SUPABASE_URL }}
1515
NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY: ${{ secrets.NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY }}
1616
run: |
17-
curl -f -X GET "$NEXT_PUBLIC_SUPABASE_URL/rest/v1/your_tiny_table?select=id&limit=1" \
17+
curl -f -X GET "$NEXT_PUBLIC_SUPABASE_URL/rest/v1/user_quiz_progress?select=id&limit=1" \
1818
-H "apikey: $NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY" \
1919
-H "Authorization: Bearer $NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY"

0 commit comments

Comments
 (0)