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
··· 47 update-input "blog" 48 49 try { 50 - nix run ".#dns" -- push 51 - } catch { |err| 52 - webhook "dns" $"=== error pushing dns ===\n\n($err.msg | to text)" 1 53 - } 54 - 55 - try { 56 - git add . 57 let commit_msg = if $msg == null { 58 "chore: update flake dependencies (deploy)" 59 } else { ··· 61 } 62 git commit -m $"($commit_msg) [skip ci]" 63 git push 64 } 65 66 deploy "wolumonde"
··· 47 update-input "blog" 48 49 try { 50 + git add flake.lock 51 let commit_msg = if $msg == null { 52 "chore: update flake dependencies (deploy)" 53 } else { ··· 55 } 56 git commit -m $"($commit_msg) [skip ci]" 57 git push 58 + } 59 + 60 + try { 61 + nix run ".#dns" -- push 62 + } catch { |err| 63 + webhook "dns" $"=== error pushing dns ===\n\n($err.msg | to text)" 1 64 } 65 66 deploy "wolumonde"