switch to rsync for deployment
This commit is contained in:
parent
5f1ba9177a
commit
9b792f976d
@ -11,7 +11,6 @@ else
|
|||||||
target=html_a
|
target=html_a
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ssh $remote rm -rf $target
|
rsync -rcve ssh --delete static/ $remote:$target
|
||||||
scp -r static $remote:$target
|
|
||||||
ssh $remote chmod -R a+rX $target
|
ssh $remote chmod -R a+rX $target
|
||||||
ssh $remote ln -snf $target html
|
ssh $remote ln -snf $target html
|
||||||
|
Loading…
x
Reference in New Issue
Block a user