mirror of https://github.com/jpanther/congo.git
👷 Update Netlify Hugo version
parent
d18790c7aa
commit
ca977a97e2
|
@ -100,11 +100,11 @@ Then in the root of your site repository, create a `netlify.toml` file:
|
||||||
TZ = "UTC" # Set to preferred timezone
|
TZ = "UTC" # Set to preferred timezone
|
||||||
|
|
||||||
[context.production.environment]
|
[context.production.environment]
|
||||||
HUGO_VERSION = "0.112.3"
|
HUGO_VERSION = "0.112.7"
|
||||||
HUGO_ENV = "production"
|
HUGO_ENV = "production"
|
||||||
|
|
||||||
[context.deploy-preview.environment]
|
[context.deploy-preview.environment]
|
||||||
HUGO_VERSION = "0.112.3"
|
HUGO_VERSION = "0.112.7"
|
||||||
```
|
```
|
||||||
|
|
||||||
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`.
|
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`.
|
||||||
|
|
|
@ -8,17 +8,17 @@ HUGO_THEME = "repo"
|
||||||
TZ = "Australia/Melbourne"
|
TZ = "Australia/Melbourne"
|
||||||
|
|
||||||
[context.production.environment]
|
[context.production.environment]
|
||||||
HUGO_VERSION = "0.112.3"
|
HUGO_VERSION = "0.112.7"
|
||||||
HUGO_ENV = "production"
|
HUGO_ENV = "production"
|
||||||
|
|
||||||
[context.deploy-preview]
|
[context.deploy-preview]
|
||||||
command = "cd exampleSite && hugo --gc --minify -D -b $DEPLOY_PRIME_URL"
|
command = "cd exampleSite && hugo --gc --minify -D -b $DEPLOY_PRIME_URL"
|
||||||
|
|
||||||
[context.deploy-preview.environment]
|
[context.deploy-preview.environment]
|
||||||
HUGO_VERSION = "0.112.3"
|
HUGO_VERSION = "0.112.7"
|
||||||
|
|
||||||
[context.branch-deploy]
|
[context.branch-deploy]
|
||||||
command = "cd exampleSite && hugo --gc --minify -D -b $DEPLOY_PRIME_URL"
|
command = "cd exampleSite && hugo --gc --minify -D -b $DEPLOY_PRIME_URL"
|
||||||
|
|
||||||
[context.branch-deploy.environment]
|
[context.branch-deploy.environment]
|
||||||
HUGO_VERSION = "0.112.3"
|
HUGO_VERSION = "0.112.7"
|
||||||
|
|
Loading…
Reference in New Issue