Files
Pigeon/webhook.nix
T

15 lines
285 B
Nix

{
writeShellApplication,
webhook,
pigeon-hooks
}:
writeShellApplication {
name = "pigeon-webhook";
runtimeInputs = [ webhook ];
text = ''
: "''${PIGEON_GITLAB_SECRET:?}"
exec webhook -hooks ${pigeon-hooks} -template -port "''${PIGEON_PORT:-3000}" -verbose
'';
}