Skip to content

soldemuth/GitHub-Event-Mailer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

GitHub-Event-Mailer

Webhook server sends transformed GitHub event JSON as email notifications.

As stand-alone server:

GitHubEventMailer
  ->loadConfig("$ENV{HOME}/etc/GitHubWebhookRequest/config.cfg")
  ->start();

Or as HTTP::Request:

if ($r->isa('HTTP::Request')) {
    my $httpResponse = GitHubWebhookRequest->do($r);
}

Config:

[MAIN]
DEBUG_TO              = [email protected]
LISTEN                = 9999
SUPPRESS_NO_JOB_ERROR = 1
TEMPLATE_PATH         = ~/etc/GitHubWebhookRequest/templates/,

[PUSH_1]
event    = push
from     = [email protected]
template = push.tmpl
to       = [email protected],[email protected]
secret   = SECRET

About

Webhook server sends transformed GitHub event JSON as email notifications.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages