change: harden hugo page generation
All checks were successful
Deploy / Deploy (push) Successful in 4s
All checks were successful
Deploy / Deploy (push) Successful in 4s
This commit is contained in:
parent
82170a7ee5
commit
c05ccae7ff
@ -10,7 +10,8 @@ echo "Cloning $REPO_URL (branch: $BRANCH)..."
|
|||||||
git clone --depth 1 --recurse-submodules --branch "$BRANCH" "$REPO_URL" "$CLONE_DIR"
|
git clone --depth 1 --recurse-submodules --branch "$BRANCH" "$REPO_URL" "$CLONE_DIR"
|
||||||
|
|
||||||
echo "Building site with Hugo $HUGO_VERSION..."
|
echo "Building site with Hugo $HUGO_VERSION..."
|
||||||
hugo --source "$CLONE_DIR" --destination "$HUGO_DEST" --cleanDestinationDir
|
hugo --source "$CLONE_DIR" --destination "$HUGO_DEST" --cleanDestinationDir --gc --verbose --panicOnWarning --printI18nWarnings --templateMetrics --templateMetricsHints
|
||||||
|
|
||||||
|
|
||||||
echo "Starting Nginx..."
|
echo "Starting Nginx..."
|
||||||
exec nginx -g 'daemon off;'
|
exec nginx -g 'daemon off;'
|
Loading…
x
Reference in New Issue
Block a user