From a8a5ae780c86e521c405454755737f07f9aa3982 Mon Sep 17 00:00:00 2001 From: smayzy Date: Sat, 9 Aug 2025 18:07:14 +0200 Subject: [PATCH] ofc it's not an interactive shell why am I such a dumbass for God's sake --- .gitea/workflows/pipeline.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.gitea/workflows/pipeline.yml b/.gitea/workflows/pipeline.yml index 0cc2d12..9bad87d 100644 --- a/.gitea/workflows/pipeline.yml +++ b/.gitea/workflows/pipeline.yml @@ -30,9 +30,7 @@ jobs: script: | set -e cd /home/smayzy/nix-config - su smayzy - git pull - exit + sudo -u smayzy git pull old_gen="$(readlink /run/current-system)" if nixos-rebuild switch --flake .#server1 --show-trace; then echo "Deployment successful"