summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2019-07-06 03:11:31 -0400
committerDaniel Micay <danielmicay@gmail.com>2019-07-06 03:11:31 -0400
commitd6a25cb5e34df7d73bbc6329486e906427b24b4c (patch)
tree0b3723aefc0ec78df70efa3825bd3f0ba95c1ea4
parentaa80da935643d4417a54752a2ec178ea2af4f715 (diff)
sync before switching deployment
-rwxr-xr-xdeploy_static1
1 files changed, 1 insertions, 0 deletions
diff --git a/deploy_static b/deploy_static
index 84657591..e62a530e 100755
--- a/deploy_static
+++ b/deploy_static
@@ -17,6 +17,7 @@ echo
rsync -rcve ssh --delete static/ $remote:$target
ssh $remote chmod -R a+rX $target
+ssh $remote sync
ssh $remote ln -snf $target html
echo