diff options
-rw-r--r-- | modules/auto-redeploy.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/auto-redeploy.nix b/modules/auto-redeploy.nix index 33b56dd..3e93d06 100644 --- a/modules/auto-redeploy.nix +++ b/modules/auto-redeploy.nix @@ -17,7 +17,7 @@ #wantedBy = [ "multi-user.target" ]; #after = [ "network.target" ]; serviceConfig = { - ExecStart = '' + ExecStart = pkgs.writeShellScript "auto-redeploy" '' ${pkgs.curl}/bin/curl -S -H "Content-Type: application/json" -d '{"username": "${config.networking.hostName} - redeploy", "content": "System started redeploy."}' ${secrets.webhooks.discord.deploy} cd /Spacebar-Open-Architecture #store current commit hash |