ofc it's not an interactive shell why am I such a dumbass for God's sake
Some checks failed
nixos config pipeline / show-flake (push) Successful in 28s
nixos config pipeline / deploy (push) Failing after 4s

This commit is contained in:
smayzy 2025-08-09 18:07:14 +02:00
parent fb7213dfb6
commit a8a5ae780c

View File

@ -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"