pls
This commit is contained in:
parent
8814466d57
commit
5ae50d488f
@ -32,7 +32,7 @@ jobs:
|
|||||||
cd /home/smayzy/nix-config
|
cd /home/smayzy/nix-config
|
||||||
sudo -u smayzy git pull
|
sudo -u smayzy git pull
|
||||||
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 git+https://gitea.smayzy.ovh/Smayzy/nix-config#server1; then
|
||||||
echo "Deployment successful"
|
echo "Deployment successful"
|
||||||
else
|
else
|
||||||
new_gen="$(readlink /run/current-system)"
|
new_gen="$(readlink /run/current-system)"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user