diff options
author | EuAndreh <eu@euandre.org> | 2020-12-28 19:10:05 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2020-12-28 19:10:05 -0300 |
commit | e3926a01bf774d7f34d7fb95c1eacaada81a6060 (patch) | |
tree | cb1f7fdcb8697e6c36ae107ba500fb4eea3b3dff | |
parent | Add metadata to WebM test screencast (diff) | |
download | euandre.org-e3926a01bf774d7f34d7fb95c1eacaada81a6060.tar.gz euandre.org-e3926a01bf774d7f34d7fb95c1eacaada81a6060.tar.xz |
default.nix: Delete remote files
It seems that some torrent files aren't being updated as desired.
-rw-r--r-- | default.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/default.nix b/default.nix index 443d2c8..79c104a 100644 --- a/default.nix +++ b/default.nix @@ -84,6 +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.rsync}/bin/rsync -avzP \ --rsh="ssh -o StrictHostKeyChecking=no" \ "$OUT_DOCS/" \ |