switch to rsync for deployment

This commit is contained in:
Daniel Micay 2019-07-05 22:42:03 -04:00
parent 5f1ba9177a
commit 9b792f976d

View File

@ -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