From 66a655e7386d2da7ef717b46a3a44bc68ffe26f4 Mon Sep 17 00:00:00 2001
From: Alan Khalili <khalilialan@gmail.com>
Date: Wed, 15 Jan 2025 18:26:23 -0800
Subject: [PATCH] feat: Add GitHub Actions workflow for weekly Zoom reminder
 emails

---
 .github/workflows/weekly-zoom-reminder.yml | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 .github/workflows/weekly-zoom-reminder.yml

diff --git a/.github/workflows/weekly-zoom-reminder.yml b/.github/workflows/weekly-zoom-reminder.yml
new file mode 100644
index 0000000..c1b7a53
--- /dev/null
+++ b/.github/workflows/weekly-zoom-reminder.yml
@@ -0,0 +1,16 @@
+name: Weekly Zoom Reminder
+on:
+  schedule:
+    # Runs at 12:00 PM UTC (noon) every Sunday
+    - cron: '0 12 * * 0'
+
+jobs:
+  send-reminders:
+    runs-on: ubuntu-latest
+    steps:
+      - name: Send Zoom Reminder Emails
+        run: |
+          curl -X POST \
+          https://rudra-utkscf-fork.vercel.app/api/emails/actions/send-healthy-habits-zoom-link \
+          -H "x-api-key: ${{ secrets.API_KEY }}" \
+          -H "Content-Type: application/json"
\ No newline at end of file