nix machine / user configurations

fix(deploy): only try to stage flake lock instead of all changes

ptr.pet 14c5be25 f06d8449

verified
Changed files
+7 -7
+7 -7
deploy.nu
···
update-input "blog"
try {
-
nix run ".#dns" -- push
-
} catch { |err|
-
webhook "dns" $"=== error pushing dns ===\n\n($err.msg | to text)" 1
-
}
-
-
try {
-
git add .
+
git add flake.lock
let commit_msg = if $msg == null {
"chore: update flake dependencies (deploy)"
} else {
···
}
git commit -m $"($commit_msg) [skip ci]"
git push
+
}
+
+
try {
+
nix run ".#dns" -- push
+
} catch { |err|
+
webhook "dns" $"=== error pushing dns ===\n\n($err.msg | to text)" 1
}
deploy "wolumonde"