summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-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