👷 Update Netlify Hugo version

This commit is contained in:
James Panther
2023-01-20 10:17:47 +11:00
parent f386bc85bd
commit 3e74703122
2 changed files with 5 additions and 5 deletions
@@ -100,11 +100,11 @@ Then in the root of your site repository, create a `netlify.toml` file:
TZ = "UTC" # Set to preferred timezone
[context.production.environment]
HUGO_VERSION = "0.109.0"
HUGO_VERSION = "0.110.0"
HUGO_ENV = "production"
[context.deploy-preview.environment]
HUGO_VERSION = "0.109.0"
HUGO_VERSION = "0.110.0"
```
This configuration assumes you are deploying Congo as a Hugo module. If you have installed the theme using another method, change the build command to simply `hugo --gc --minify -b $URL`.
+3 -3
View File
@@ -8,17 +8,17 @@ HUGO_THEME = "repo"
TZ = "Australia/Melbourne"
[context.production.environment]
HUGO_VERSION = "0.105.0"
HUGO_VERSION = "0.110.0"
HUGO_ENV = "production"
[context.deploy-preview]
command = "cd exampleSite && hugo --gc --minify -D -b $DEPLOY_PRIME_URL"
[context.deploy-preview.environment]
HUGO_VERSION = "0.105.0"
HUGO_VERSION = "0.110.0"
[context.branch-deploy]
command = "cd exampleSite && hugo --gc --minify -D -b $DEPLOY_PRIME_URL"
[context.branch-deploy.environment]
HUGO_VERSION = "0.105.0"
HUGO_VERSION = "0.110.0"