From b661cd52c5866d912383730cf82781686f7fd8b0 Mon Sep 17 00:00:00 2001 From: TheArcaneBrony Date: Tue, 4 Apr 2023 04:41:04 +0200 Subject: Cleaner redeploy message --- modules/auto-redeploy.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/auto-redeploy.nix b/modules/auto-redeploy.nix index 0e2cc08..ae415ca 100644 --- a/modules/auto-redeploy.nix +++ b/modules/auto-redeploy.nix @@ -50,7 +50,7 @@ git rm --cached hardware-configuration.nix ) 2>&1 | tee /tmp/update.log #send the output to discord as a file - curl -S -F "file=@/tmp/update.log" -F "filename=update.log" -F "content=System finished redeploy. Make sure to check for errors, otherwise no future deployments will happen.\n***This requires manual intervention.***" -H "Content-Type: multipart/form-data" ${secrets.webhooks.discord.deploy} + curl -S -F "file=@/tmp/update.log" -F "filename=update.log" -F "content=System finished redeploy. Logs:" -H "Content-Type: multipart/form-data" ${secrets.webhooks.discord.deploy} #store current commit in file echo $(git rev-parse HEAD) > currentCommit ''; -- cgit 1.4.1