1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-29 11:07:44 +00:00

rebuild: fix rsync command

This commit is contained in:
RGBCube 2025-06-25 18:47:41 +03:00
parent f107c705f3
commit 788382ec81
Signed by: RGBCube
SSH key fingerprint: SHA256:CzqbPcfwt+GxFYNnFVCqoN5Itn4YFrshg1TrnACpA5M

View file

@ -2,11 +2,15 @@
def --wrapped sync [...arguments] {
(rsync
--rsh "ssh"
--archive
--compress
--delete --recursive --force
--delete-excluded
--delete-missing-args
--delete-missing-arguments
--human-readable
--delay-updates
...$arguments)
}
@ -30,10 +34,6 @@ def main --wrapped [
}
if $remote {
ssh -tt ("root@" + $host) $"
rm --recursive --force ncc
"
git ls-files
| sync --files-from - ./ $"root@($host):ncc"