pls
This commit is contained in:
1 parent
8814466d57
commit
5ae50d488f
1 file changed
+1
-1
@@ -32,7 +32,7 @@ jobs:
|
||||
cd /home/smayzy/nix-config
|
||||
sudo -u smayzy git pull
|
||||
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"
|
||||
else
|
||||
new_gen="$(readlink /run/current-system)"
|
||||
|
||||
Reference in new issue
Block a user