[build]
  command = "npm run build"
  publish = "dist"

# Change the version of Hugo you want to use on Netlify
# by changing this environment variable.
[build.environment]
  HUGO_VERSION = "v0.25.1"

[context.deploy-preview]
  command = "npm run build-preview"

[build]
  command = "npm run build"
  publish = "dist"

# Change the version of Hugo you want to use on Netlify
# by changing this environment variable.
[build.environment]
  HUGO_VERSION = "v0.55.0"

[context.deploy-preview]
  command = "npm run build-preview"

Set Hugo Version from v0.25.1 to v0.55.0
Set Hugo Version from v0.25.1 to v0.55.0