sync before switching deployment
This commit is contained in:
parent
aa80da9356
commit
d6a25cb5e3
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user