LH Reports via Resend #7
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: LH Reports via Resend | |
on: | |
schedule: | |
- cron: "0 11 * * 1" | |
workflow_dispatch: | |
permissions: | |
contents: read | |
jobs: | |
reports: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup repo | |
uses: actions/checkout@v4 | |
- uses: denoland/setup-deno@v2 | |
with: | |
deno-version: v2.x | |
- name: Install Deno dependencies | |
run: deno install | |
- name: Deno build | |
run: deno task build | |
env: | |
RESEND_API_KEY: ${{ secrets.RESEND_API_KEY }} | |
RESEND_EMAIL_FROM: ${{ secrets.RESEND_EMAIL_FROM }} | |
RESEND_EMAIL_TO: ${{ secrets.RESEND_EMAIL_TO }} | |
URLS: ${{ secrets.URLS }} |