Drillster / drone-email

Drone plugin for sending email notifications
Apache License 2.0
45 stars 43 forks source link

load mail template from repo #49

Closed glaszig closed 3 years ago

glaszig commented 3 years ago

would you accept the idea to load a custom email template from a file inside the source directory/repo, e.g. .drone/email/build.html?

maintaining an email template inside yaml is... suboptimal, i think.

mjwwit commented 3 years ago

This is actually already supported, see the docs. You can set a URL for the template location, and file:// URLs are supported.

glaszig commented 3 years ago

fantastic. thanks for the pointer. missed that skimming the docs.