Send Notifications #332
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Send Notifications | |
on: | |
schedule: | |
- cron: "25 7 * * *" # Run at 7.25 UTC each day | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
AIRTABLE_API_KEY: ${{ secrets.AIRTABLE_API_KEY }} | |
SENDGRID_API_KEY: ${{ secrets.SENDGRID_API_KEY }} | |
SHASUM_SECRET: ${{ secrets.SHASUM_SECRET }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install deps and run | |
run: | | |
npm ci | |
./bin/send-role-notifications.ts |