I am switching themes on my site, when I run the production deploy, it does not display correctly. The production deployment command I am using is hugo --gc --minify
The deployment itself completes successfully. As seen on: dina.technology
The staging deploy using hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL
the site comes up as expected. As seen on: https://5e8dd98c93ad810006c4c859–keen-pasteur-27ab21.netlify.com
My localhost environment also works as expected.
My netlify.toml
looks like this:
[build.environment]
publish = "public"
command = "hugo --gc --minify"
[context.production.environment]
HUGO_VERSION = "0.68.3"
HUGO_ENV = "production"
HUGO_ENABLEGITINFO = "true"
[context.split1]
command = "hugo --gc --minify --enableGitInfo"
[context.split1.environment]
HUGO_VERSION = "0.68.3"
HUGO_ENV = "production"
[context.deploy-preview]
command = "hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL"
[context.deploy-preview.environment]
HUGO_VERSION = "0.68.3"