Updating Netlify Environment Variables

For my last blog post, the usual push to master wasn’t deploying my site to Netlify.

My first port of call was to take a look at the build logs in Netlify itself.

Failed deploy message

Aha! Let’s have a look at the logs. This line looks interesting.

Wrong version message

Looks like we’re somehow using an older version of Hugo than our theme supports.

Let’s have a look at the environment variables.

Environment variables panel

Looks like we set it to 0.34 when we first set up the site. Let’s update it to the latest version.

Entering new versoin

Now let’s trigger a new deploy.

Trigger new deploy

It worked!

Deploy success


96 Words

2019-07-10 10:35 +0000