We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b69b0d commit 3cea312Copy full SHA for 3cea312
.github/workflows/ping.yml
@@ -0,0 +1,16 @@
1
+# .github/workflows/supabase-activity-scheduler.yml
2
+
3
+name: Supabase Activity Scheduler
4
5
+on:
6
+ schedule:
7
+ - cron: "0 0 * * *" # Runs at 00:00 every day
8
+ workflow_dispatch:
9
10
+jobs:
11
+ send-http-request:
12
+ runs-on: ubuntu-latest
13
14
+ steps:
15
+ - name: Send HTTP Request
16
+ run: curl -X GET https://leetcode-journal.vercel.app/api/etc/supabase-activity-scheduler
app/api/etc/supabase-activity-scheduler/route.ts
@@ -0,0 +1,9 @@
+import { NextResponse } from 'next/server';
+export async function GET() {
+ return NextResponse.json({
+ message: 'Backend API service is healthy',
+ status: 'healthy',
+ timestamp: new Date().toISOString()
+ }, { status: 200 });
+}
0 commit comments