Testing signed commit.
This commit is contained in:
@@ -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/.
|
||||
|
||||
Reference in New Issue
Block a user