ofc it's not an interactive shell why am I such a dumbass for God's sake
This commit is contained in:
parent
fb7213dfb6
commit
a8a5ae780c
@ -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"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user