From 8b1dcb3b4353ff72ac041c7d95f4dcedf488e513 Mon Sep 17 00:00:00 2001 From: Scisco Date: Thu, 17 Jul 2014 13:12:36 -0400 Subject: Updated publish script with the updated nginx file location --- scripts/publish.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'scripts/publish.sh') 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 -- cgit v1.2.3