sync before switching deployment
This commit is contained in:
@@ -17,6 +17,7 @@ echo
|
|||||||
|
|
||||||
rsync -rcve ssh --delete static/ $remote:$target
|
rsync -rcve ssh --delete static/ $remote:$target
|
||||||
ssh $remote chmod -R a+rX $target
|
ssh $remote chmod -R a+rX $target
|
||||||
|
ssh $remote sync
|
||||||
ssh $remote ln -snf $target html
|
ssh $remote ln -snf $target html
|
||||||
|
|
||||||
echo
|
echo
|
||||||
|
|||||||
Reference in New Issue
Block a user