From 69c2c4c41258da445e59a4ed97cb5345221304f5 Mon Sep 17 00:00:00 2001 From: kiskaadee Date: Thu, 10 Sep 2026 12:22:35 -0500 Subject: [PATCH] fix(server): simplify webhook execute-command to invoke gitops_dispatcher directly --- hosts/server/homeserver.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/hosts/server/homeserver.nix b/hosts/server/homeserver.nix index a093161..8ab40d4 100644 --- a/hosts/server/homeserver.nix +++ b/hosts/server/homeserver.nix @@ -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.";