mirror of
https://github.com/nikdoof/website-hugo.git
synced 2025-12-11 15:52:26 +00:00
Remove find bodge, Hugo will correct the perms if they're right in the repo
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 {} \;
|
||||
Reference in New Issue
Block a user