Compare commits
No commits in common. "184a8a72aaaf7bf3af48bdc9115c4072abf1bcd0" and "28b14a9ce39450ad56400bd02035e5b92f86d482" have entirely different histories.
184a8a72aa
...
28b14a9ce3
|
@ -84,8 +84,10 @@ in
|
|||
cd ${config.secrets.nixConfigFolder}
|
||||
# Make sure we're up-to-date
|
||||
git pull --recurse-submodules
|
||||
nix flake update --commit-lock-file
|
||||
git push
|
||||
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
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue