this repo has no description
4
fork

Configure Feed

Select the types of activity you want to include in your feed.

build: only post updated input if input was actually updated

dusk e7c77815 0f3b3e52

+3 -1
+3 -1
deploy.nu
··· 35 35 36 36 def update-input [input: string] { 37 37 let result = nix flake update $input | complete 38 - webhook $"/inputs/($input)" $"=== updated input ===\n\n($result | to text)" $result.exit_code 38 + if ($result.stderr | str contains "Updated input") or ($result.exit_code != 0) { 39 + webhook $"/inputs/($input)" $"=== updated input ($input) ===\n\n($result.stderr)" $result.exit_code 40 + } 39 41 } 40 42 41 43 def main [msg?: string] {