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: |
|
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"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user