summaryrefslogtreecommitdiff
path: root/deploy_static
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2019-07-15 14:15:36 -0400
committerDaniel Micay <danielmicay@gmail.com>2019-07-15 14:15:36 -0400
commit8ccb99ecb41b621474b90f91ec032ab38830051f (patch)
tree6d9fe8068fc7ee0fd6c848e41b598f66ae169d07 /deploy_static
parent3e4663bf4a0026b6c52afdc8cb547acccbe7b79b (diff)
replace recursive chmod for deployment
Diffstat (limited to 'deploy_static')
-rwxr-xr-xdeploy_static3
1 files changed, 1 insertions, 2 deletions
diff --git a/deploy_static b/deploy_static
index c4ee09bc..0e158c3d 100755
--- a/deploy_static
+++ b/deploy_static
@@ -15,8 +15,7 @@ echo active is $active
echo target is $target
echo
-rsync -rcve ssh --delete static/ $remote:$target
-ssh $remote chmod -R a+rX $target
+rsync -rpcve ssh --chmod=D755,F644 --delete static/ $remote:$target
ssh $remote sync -f $target
ssh $remote ln -snf $target html
ssh $remote sync .