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: | script: |
set -e set -e
cd /home/smayzy/nix-config cd /home/smayzy/nix-config
su smayzy sudo -u smayzy git pull
git pull
exit
old_gen="$(readlink /run/current-system)" old_gen="$(readlink /run/current-system)"
if nixos-rebuild switch --flake .#server1 --show-trace; then if nixos-rebuild switch --flake .#server1 --show-trace; then
echo "Deployment successful" echo "Deployment successful"