diff --git a/themes/lhs-retro/static/cgi/status.cgi b/themes/lhs-retro/static/cgi/status.cgi old mode 100644 new mode 100755 diff --git a/tools/retro-deploy.sh b/tools/retro-deploy.sh index 76b2048..efda8e1 100755 --- a/tools/retro-deploy.sh +++ b/tools/retro-deploy.sh @@ -8,5 +8,9 @@ BASE_URL="$2" # Arguments to add to the Hugo call HUGO_ARGUMENTS="--gc" +# Pull the updates and run Hugo git pull -hugo --quiet ${HUGO_ARGUMENTS} -b "${BASE_URL}" -d "${TARGET_FOLDER}" -t "lhs-retro" \ No newline at end of file +hugo --quiet ${HUGO_ARGUMENTS} -b "${BASE_URL}" -d "${TARGET_FOLDER}" -t "lhs-retro" + +# Make sure the CGI scripts are executable +find "${TARGET_FOLDER}" -name "*.cgi" -exec chmod a+x \; \ No newline at end of file