diff options
| -rwxr-xr-x | scripts/publish.sh | 6 | 
1 files changed, 4 insertions, 2 deletions
| diff --git a/scripts/publish.sh b/scripts/publish.sh index 34928a4..38b2143 100755 --- a/scripts/publish.sh +++ b/scripts/publish.sh @@ -16,5 +16,7 @@ build=$6  site="/usr/share/nginx/html/$repo"  # Remove old site files, move new ones in place -sudo rm -rf $site -sudo mv $build $site +# On amazon EC2 use sudo if nginx html forlder has root ownership + +rm -rf $site +mv $build $site | 
