summary refs log tree commit diff
path: root/modules
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2023-04-03 19:18:27 +0200
committerRory& <root@rory.gay>2024-06-05 15:52:38 +0200
commitd348c5b7c107c13b3f61c0f481e5094a409dabd3 (patch)
treedbff207c89d57a05722e0cd5ba65a881836c0d88 /modules
parentSilence curl (diff)
downloadSpacebar-Open-Infrastructure-d348c5b7c107c13b3f61c0f481e5094a409dabd3.tar.xz
Move auto redeploy to script
Diffstat (limited to 'modules')
-rw-r--r--modules/auto-redeploy.nix2
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