diff --git a/Email-plugin.md b/Email-plugin.md index 2465916..41ef78f 100644 --- a/Email-plugin.md +++ b/Email-plugin.md @@ -11,9 +11,18 @@ Sends a build status email. ### Configuration Example See [[Adding-PHPCI-Support-to-Your-Projects]] for more options. + +Send an email to the committer if their build fails: ```yml failure: email: committer: true default_mailto_address: one@example.com +``` + +Send an email to one@example.com every time a build is run: +```yml +complete: + email: + default_mailto_address: one@example.com ``` \ No newline at end of file