Skip to content

Commit 51c5c13

Browse files
committed
try sending from another address
1 parent 689776c commit 51c5c13

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
env:
2929
EBIRD_API_KEY: ${{ secrets.EBIRD_API_KEY }}
3030
RESEND_API_KEY: ${{ secrets.RESEND_API_KEY }}
31-
RESEND_FROM: ${{ secrets.RESEND_FROM }}
31+
RESEND_FROM: alerts@resend.dev
3232
run: uv run snowy check --to "${{ secrets.EMAIL_TO }}"
3333

3434
- name: Delete old state cache

src/snowy_sightings/notify.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
def send_email(to: str, subject: str, body_html: str) -> dict:
99
"""Send an email via Resend."""
1010
resend.api_key = os.environ["RESEND_API_KEY"]
11-
from_addr = os.environ.get("RESEND_FROM", "snowy@resend.dev")
11+
from_addr = os.environ.get("RESEND_FROM", "alerts@resend.dev")
1212
return resend.Emails.send(
1313
{"from": from_addr, "to": to, "subject": subject, "html": body_html}
1414
)

0 commit comments

Comments
 (0)