diff options
author | Scisco <alireza@developmentseed.org> | 2014-07-17 13:12:36 -0400 |
---|---|---|
committer | Scisco <alireza@developmentseed.org> | 2014-07-17 13:12:36 -0400 |
commit | 8b1dcb3b4353ff72ac041c7d95f4dcedf488e513 (patch) | |
tree | 4b7cc2b1bda5e38966a75badef500d57c2f427e9 | |
parent | 05ac6ca2fdd6aa08917240b8b46610f6d0a237c6 (diff) |
Updated publish script with the updated nginx file location
-rwxr-xr-x | scripts/publish.sh | 6 |
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 |