fix: correct Hugo build flags to use --verbose and --debug instead of --logLevel

This commit is contained in:
Greg 2025-06-01 21:58:31 +02:00
parent 26a8d78461
commit fbe47bb732

View File

@ -14,9 +14,8 @@ COPY . .
# Build the Hugo site. # Build the Hugo site.
# - Output will be in /src/public by default. # - Output will be in /src/public by default.
# - Added --verbose and --debug for more detailed build logs. # - Using --verbose and --debug for more detailed build logs.
# - Removed the '|| mkdir ...' fallback to ensure Hugo errors stop the build and are visible. RUN hugo --gc --minify --verbose --debug
RUN hugo --gc --minify --logLevel info --logLevel debug
# Stage 2: Serve the site with Nginx # Stage 2: Serve the site with Nginx
FROM nginx:1.25-alpine FROM nginx:1.25-alpine