diff options
author | Jesse Morgan <jesse@jesterpm.net> | 2015-01-22 20:57:38 -0800 |
---|---|---|
committer | Jesse Morgan <jesse@jesterpm.net> | 2015-01-22 20:57:38 -0800 |
commit | 2d273e3841ef4f1b874fe82b8883f62f8f412044 (patch) | |
tree | 8d287b63c79fb011d5dacf3384d18fc43bfc5461 /README.md |
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..fdbba12 --- /dev/null +++ b/README.md @@ -0,0 +1,17 @@ +insomniaircd_webhook +==================== + +This is a simple GitHub webhook receiver to regenerate the InsomniaIRC network configs. + +### Environment Variables + +* `HOSTNAME` should be set to the IRCD hostname to generate the config for. +* `SECRET_KEY` should be set to the AES key to decrypt secrets in the config. +* `SECRET_TOKEN` should be set to the secret token in the GitHub webhook configuration. + +Example command: + + HOSTNAME=hypocrisy.insomniairc.net \ + SECRET_KEY=SUPER_SECRET_KEY \ + SECRET_TOKEN=DIFFERENT_SECRET \ + ruby lib/insomniaircd_webhook.rb |