Skip to content

Run Email Notification on a CRON Schedule #125

Run Email Notification on a CRON Schedule

Run Email Notification on a CRON Schedule #125

name: Run Email Notification on a CRON Schedule
on:
schedule:
- cron: "0 0 * * *"
workflow_dispatch:
jobs:
run_email_notification:
runs-on: ubuntu-latest
name: A job to run the email notification cron
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Run Email Notification Action Step
uses: ./email-notification
id: email-notification
env:
DATABASE_URL: ${{ secrets.DATABASE_URL }}
JUNO_API_KEY: ${{ secrets.JUNO_API_KEY }}
JUNO_BASE_URL: ${{ secrets.JUNO_BASE_URL }}
JUNO_SENDER_EMAIL: ${{ secrets.JUNO_SENDER_EMAIL }}
JUNO_SENDER_NAME: ${{ secrets.JUNO_SENDER_NAME }}
keepalive-job:
name: Keepalive Workflow
runs-on: ubuntu-latest
permissions:
actions: write
steps:
- uses: actions/checkout@v4
- uses: gautamkrishnar/keepalive-workflow@2.0.7