diff --git a/tools/branch-deploy.sh b/tools/branch-deploy.sh index 1cce044..5295bc3 100755 --- a/tools/branch-deploy.sh +++ b/tools/branch-deploy.sh @@ -49,7 +49,6 @@ for BRANCH in $BRANCHES; do # Build to the destination folder for THEME in $THEMES; do hugo --quiet ${HUGO_ARGUMENTS} -b "${BASE_URL}/${BRANCH}/${THEME}" -s "${TEMP_FOLDER}" -d "${TARGET_FOLDER}/${BRANCH}/${THEME}" -t "${THEME}" - find "${TARGET_FOLDER}/${BRANCH}/${THEME}" -name "*.cgi" -exec chmod a+x {} \; done # Cleanup the temp folder diff --git a/tools/retro-deploy.sh b/tools/retro-deploy.sh index 4dbd4ce..26e987e 100755 --- a/tools/retro-deploy.sh +++ b/tools/retro-deploy.sh @@ -11,6 +11,3 @@ HUGO_ARGUMENTS="--gc" # Pull the updates and run Hugo git pull 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