diff --git a/build.sh b/build.sh index 131882f..e208022 100644 --- a/build.sh +++ b/build.sh @@ -1,12 +1,7 @@ #!/bin/bash -if [[ -z "${!1+x}" ]]; then - echo "Error: Variable '$1' is not set" - exit 1 -fi - hugo --cleanDestinationDir -sudo rsync -av --delete ./public/ /var/www/pol/public/ +sudo rsync -av --delete ./public/ /var/www/g/public/ git pull --rebase