👷 Update Netlify Hugo version

pull/567/head
James Panther 2023-05-25 14:14:36 +10:00
parent 50c5d212de
commit 08e6b91252
No known key found for this signature in database
GPG Key ID: D36F789E45745D17
2 changed files with 6 additions and 6 deletions

View File

@ -96,15 +96,15 @@ Then in the root of your site repository, create a `netlify.toml` file:
[build.environment]
NODE_ENV = "production"
GO_VERSION = "1.19"
GO_VERSION = "1.20"
TZ = "UTC" # Set to preferred timezone
[context.production.environment]
HUGO_VERSION = "0.110.0"
HUGO_VERSION = "0.112.3"
HUGO_ENV = "production"
[context.deploy-preview.environment]
HUGO_VERSION = "0.110.0"
HUGO_VERSION = "0.112.3"
```
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`.

View File

@ -8,17 +8,17 @@ HUGO_THEME = "repo"
TZ = "Australia/Melbourne"
[context.production.environment]
HUGO_VERSION = "0.110.0"
HUGO_VERSION = "0.112.3"
HUGO_ENV = "production"
[context.deploy-preview]
command = "cd exampleSite && hugo --gc --minify -D -b $DEPLOY_PRIME_URL"
[context.deploy-preview.environment]
HUGO_VERSION = "0.110.0"
HUGO_VERSION = "0.112.3"
[context.branch-deploy]
command = "cd exampleSite && hugo --gc --minify -D -b $DEPLOY_PRIME_URL"
[context.branch-deploy.environment]
HUGO_VERSION = "0.110.0"
HUGO_VERSION = "0.112.3"