ofc it's not an interactive shell why am I such a dumbass for God's sake
This commit is contained in:
1 parent
fb7213dfb6
commit
a8a5ae780c
1 file changed
+1
-3
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user