try smth if something break in the future it way be HERE PLS FUCKING IDIOT LOOK HERE
This commit is contained in:
parent
170cf22a58
commit
fb7213dfb6
@ -30,7 +30,9 @@ jobs:
|
|||||||
script: |
|
script: |
|
||||||
set -e
|
set -e
|
||||||
cd /home/smayzy/nix-config
|
cd /home/smayzy/nix-config
|
||||||
|
su 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