Collecting my attempts to improve at tech, art, and life

[2022-06-21 Tue 15:03]

Tags: hugo i-fixed-it

I’m not dead yet! Site wasn’t updating because Netlify failed with an exit code 2. Bit vague. Finally had a few minutes to look closer.

Turns out it’s because I’ve been keeping up locally with Hugo releases and syntax changes, but not telling Netlify. They need the same version of Hugo that I use.

So now I’ve got a basic netlify.toml based on Netlify Hugo docs.

[build]
  command = "hugo"
  publish = "public"

[build.environment]
  HUGO_VERSION = "0.101.0"

Looks like everything is good again.


Added to vault 2024-01-15. Updated on 2024-01-26