Compare commits
2 commits
28b14a9ce3
...
184a8a72aa
Author | SHA1 | Date | |
---|---|---|---|
Aires | 184a8a72aa | ||
Aires | 7faea4abd5 |
|
@ -84,10 +84,8 @@ in
|
|||
cd ${config.secrets.nixConfigFolder}
|
||||
# Make sure we're up-to-date
|
||||
git pull --recurse-submodules
|
||||
nix flake update
|
||||
git add flake.lock
|
||||
# Only commit and push if the lock file has changed, otherwise quietly exit
|
||||
git diff --quiet && git diff --staged --quiet || git commit -am "Update flake.lock" && git push
|
||||
nix flake update --commit-lock-file
|
||||
git push
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue