From 9b792f976d32399a65bf55c1799cca5a521dfb69 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Fri, 5 Jul 2019 22:42:03 -0400 Subject: [PATCH] switch to rsync for deployment --- deploy_static | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/deploy_static b/deploy_static index 4cadea95..7ffdedfa 100755 --- a/deploy_static +++ b/deploy_static @@ -11,7 +11,6 @@ else target=html_a fi -ssh $remote rm -rf $target -scp -r static $remote:$target +rsync -rcve ssh --delete static/ $remote:$target ssh $remote chmod -R a+rX $target ssh $remote ln -snf $target html