How to set up cloudflare to send an email (or emit...
# pages-help
r
I would like to be able to send an email after a page has been successfully deployed. Right now I have a github action that automatically merges any open PRs at a certain time. I've connected cloudflare pages to this github repo, and it automatically deploys the new PR, which is great, but I also want to get an update when that happens. Any ideas? Should I use /functions somehow? I saw cloudflare has an email service, but I couldn't understand how to make it work... https://blog.cloudflare.com/sending-email-from-workers-with-mailchannels/ Sorry, I'm quite new to this 😦
m
does the email need to go to someone that isn’t you? if not, you could just turn on github email notifications for workflow runs https://docs.github.com/en/actions/monitoring-and-troubleshooting-workflows/notifications-for-workflow-runs
r
That's a really good idea! The person that needs to receive the email isn't me, but I could setup a forwarding rule on the email provider. Thanks!
w
r
This is actually exactly what I needed. Thank you @Walshy | Pages !!
d
@Walshy | Pages
w
?