fix(scripts/rebuild): make rebuild script not continue on a failure
This commit is contained in:
parent
c2cb0d4925
commit
36d522f7f4
1 changed files with 2 additions and 2 deletions
|
@ -23,8 +23,8 @@
|
|||
exit 1
|
||||
fi
|
||||
|
||||
git add .
|
||||
nixos-rebuild switch --flake . --use-remote-sudo
|
||||
git add . && \
|
||||
nixos-rebuild switch --flake . --use-remote-sudo && \
|
||||
git commit -a
|
||||
'')
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue