From c05ccae7ffe14d36483eef06f316ec441fb03af4 Mon Sep 17 00:00:00 2001 From: Vezpi Date: Mon, 2 Jun 2025 12:56:18 +0000 Subject: [PATCH] change: harden hugo page generation --- docker/entrypoint.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh index bf58ec2..c8981f8 100644 --- a/docker/entrypoint.sh +++ b/docker/entrypoint.sh @@ -10,7 +10,8 @@ echo "Cloning $REPO_URL (branch: $BRANCH)..." git clone --depth 1 --recurse-submodules --branch "$BRANCH" "$REPO_URL" "$CLONE_DIR" 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..." exec nginx -g 'daemon off;' \ No newline at end of file