Deploy files conditionally based on checksum

By default rsync uses modification time and file size which is effectively
reduced to just file size due to using Nix. This is not enough to work
reliably e.g. on changes to a single letter or fixed-format strings.
master
Simon Bruder 2022-01-22 22:11:03 +01:00
parent fdaa9e2e7d
commit 412f7b2d74
Signed by: simon
GPG Key ID: 8D3C82F9F309F8EC
1 changed files with 1 additions and 1 deletions

View File

@ -19,4 +19,4 @@ case "$target" in
esac
nix build -o "result-${target}" -L ".#${nix_package}"
rsync -varzLP --delete --delay-updates "result-${target}/" "schabernack@yuzuru.sbruder.xyz:${directory}"
rsync -vacrzLP --delete --delay-updates "result-${target}/" "schabernack@yuzuru.sbruder.xyz:${directory}"