Remove find bodge, Hugo will correct the perms if they're right in the repo

This commit is contained in:
2024-02-20 11:06:38 +00:00
parent a6d3d15a17
commit 3321821000
2 changed files with 0 additions and 4 deletions

View File

@@ -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

View File

@@ -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 {} \;