How to set up cloudflare to send an email (or emit some event) after page build is deployed?
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 😦
The Cloudflare Blog
Send email using Workers with MailChannels
MailChannels has created an email sending service specifically for Cloudflare Workers that removes all the friction associated with sending emails
6 Replies
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
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!
we also have native integration - https://dash.cloudflare.com/?to=/:account/notifications
This is actually exactly what I needed. Thank you @walshydev !!
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
?