I’ve updated my production site www.kite.pub from Hugo 0.47 to Hugo 0.76, but Netlify deploy continues to pull Hugo 0.47.
I’ve set the site config.toml to
[build]
command = “hugo”
context = “production”
publish = “public”
[build.environment]
HUGO_VERSION = “0.76.0”
[context.production.environment]
HUGO_VERSION = “0.76.0”
HUGO_ENV = “production”
As I understand, the version specified in [build.environment] should apply to all builds and the version specified in [context.production.environment] should apply to an environment (production, in this case).
I’ve also specified a Deploy Environment value of HUGO_VERSION 0.76.0 in the Netlify Site Admin.
Hugo version reported on production page:
Hugo version reported in build log:
Hugo version specified in config.toml:
Hugo version specified in Netlify Admin:
For what it’s worth, the netlify build is on Xenial 16.04. This is not a branch deploy, just master/production.
What am I missing here? How do we get Netlify to build with the specified Hugo version?
Thanks for reading!