Testing signed commit.

This commit is contained in:
Rabjerg committed 2022-10-18 16:56:45 +02:00
1 parent 0161012fef
commit 4d89ec4d03
1 file changed
+2 -5
+2 -5
View File
@@ -1,11 +1,8 @@
#!/usr/bin/env bash
git commit
set -e
if [[ $? -ne 0 ]]; then
echo "Git commit not successful, will not rebuild before commit is complete."
exit 1
fi
git commit
echo "Copying configurations to etc and rebuilding."
sudo cp /home/adam/nixos-configurations/*.nix /etc/nixos/.