keep A/B deployments in sync
This commit is contained in:
parent
dd9df36c79
commit
d191dbaea5
@ -18,6 +18,8 @@ echo active is $active
|
||||
echo target is $target
|
||||
echo
|
||||
|
||||
ssh $remote rm -rf $target
|
||||
ssh $remote cp -a $active $target
|
||||
rsync -rpcv --chmod=D755,F644 --delete static_tmp/ $remote:$target
|
||||
ssh $remote sync -f $target
|
||||
ssh $remote ln -snf $target /var/www/html
|
||||
|
Loading…
x
Reference in New Issue
Block a user