insomniaircd_webhook
This is a simple GitHub webhook receiver to regenerate the InsomniaIRC network configs.
Environment Variables
HOSTNAMEshould be set to the IRCD hostname to generate the config for.SECRET_KEYshould be set to the AES key to decrypt secrets in the config.SECRET_TOKENshould 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
