We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 69a4d4b commit cdaf27cCopy full SHA for cdaf27c
1 file changed
.github/workflows/supabase-heartbeat.yml
@@ -44,3 +44,14 @@ jobs:
44
echo "Response: $RESPONSE_BODY"
45
exit 1
46
fi
47
+
48
+ - name: Send heartbeat to Supabase DB
49
+ run: |
50
+ RESPONSE=$(curl -s -w "%{http_code}" -o response_body.txt \
51
+ -X POST \
52
+ "https://tkkghzcpwefwrgacgvdv.supabase.co/rest/v1/heartbeat" \
53
+ -H "apikey: ${{ secrets.SUPABASE_ANON_KEY }}" \
54
+ -H "Authorization: Bearer ${{ secrets.SUPABASE_ANON_KEY }}" \
55
+ -H "Content-Type: application/json" \
56
+ -H "Prefer: resolution=merge-duplicates" \
57
+ -d '{"id": 1, "touched_at": "'"$(date -u +%Y-%m-%dT%H:%M:%SZ)"'"}')
0 commit comments