R Tyler Croy
4281b536db
This relies on spawning a thread for dispatching things to IRC, since GitHub webhooks will timeout in 10s https://github.community/t5/GitHub-API-Development-and/Extended-Service-Timeout-for-webhooks/td-p/19639 Really though, it's not like webhook logs are terribly useful in GitHub's VUI |
||
---|---|---|
.vscode | ||
src | ||
.dockerignore | ||
.gitignore | ||
Cargo.toml | ||
Dockerfile | ||
README.adoc | ||
events.push.json | ||
host.json | ||
local.settings.json |
README.adoc
<html lang="en">
<head>
</head>
</html>
IRC push function
Development
Local invocations
curl -XPOST --data @events.push.json http://localhost:8100/api/webhook
Deployment
docker build -t functionsbrokencode.azurecr.io/irc-push . && docker push functionsbrokencode.azurecr.io/irc-push