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.
This commit is contained in:
parent
fdaa9e2e7d
commit
412f7b2d74
|
@ -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}"
|
||||
|
|
Loading…
Reference in a new issue