summaryrefslogtreecommitdiff
path: root/scripts/publish.sh
diff options
context:
space:
mode:
authorScisco <alireza@developmentseed.org>2014-07-17 13:12:36 -0400
committerScisco <alireza@developmentseed.org>2014-07-17 13:12:36 -0400
commit8b1dcb3b4353ff72ac041c7d95f4dcedf488e513 (patch)
tree4b7cc2b1bda5e38966a75badef500d57c2f427e9 /scripts/publish.sh
parent05ac6ca2fdd6aa08917240b8b46610f6d0a237c6 (diff)
Updated publish script with the updated nginx file location
Diffstat (limited to 'scripts/publish.sh')
-rwxr-xr-xscripts/publish.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/publish.sh b/scripts/publish.sh
index 82e728b..34928a4 100755
--- a/scripts/publish.sh
+++ b/scripts/publish.sh
@@ -13,8 +13,8 @@ source=$5
build=$6
# Set the path of the hosted site
-site="/usr/share/nginx/www/$repo"
+site="/usr/share/nginx/html/$repo"
# Remove old site files, move new ones in place
-rm -rf $site
-mv $build $site
+sudo rm -rf $site
+sudo mv $build $site