From da70d085047f298dcf707568bf0b6777abf6a2e8 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Mon, 28 Dec 2020 19:25:14 -0300 Subject: default.nix: Comment remote deletion before rsync --- default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/default.nix b/default.nix index 79c104a..ca0fc36 100644 --- a/default.nix +++ b/default.nix @@ -84,7 +84,7 @@ in rec { SERVER_URL='root@euandre.org' REMOTE_PATH='/home/user-data/www/default/' OUT_DOCS='${site}' - ${pkgs.openssh}/bin/ssh "$SERVER_URL" rm -rf "$REMOTE_PATH/*" + # ${pkgs.openssh}/bin/ssh "$SERVER_URL" rm -rf "$REMOTE_PATH/*" ${pkgs.rsync}/bin/rsync -avzP \ --rsh="ssh -o StrictHostKeyChecking=no" \ "$OUT_DOCS/" \ -- cgit v1.2.3