fix(server): simplify webhook execute-command to invoke gitops_dispatcher directly

This commit is contained in:
kiskaadee committed 2026-09-10 12:22:35 -05:00
1 parent 5e3461fdb2
commit 69c2c4c412
1 file changed
+1 -4
+1 -4
View File
@@ -79,10 +79,7 @@
ExecStart = "${pkgs.webhook}/bin/webhook -hooks ${pkgs.writeText "hooks.json" (builtins.toJSON [
{
id = "deploy";
execute-command = "${pkgs.python3}/bin/python3";
pass-arguments-to-command = [
{ arg = "/home/kiskaadee/Core/scripts/gitops_dispatcher.py"; }
];
execute-command = "/home/kiskaadee/Core/scripts/gitops_dispatcher.py";
pass-stdin-to-command = true;
command-working-directory = "/home/kiskaadee/Core";
response-message = "Deployment payload dispatched successfully.";