update netlify.toml
This commit is contained in:
parent
86592ca23f
commit
6553e2ce2f
1 changed files with 3 additions and 0 deletions
|
@ -3,6 +3,7 @@ publish = "public"
|
|||
command = "hugo --gc --minify"
|
||||
|
||||
[context.production.environment]
|
||||
GO_VERSION = "1.18"
|
||||
HUGO_VERSION = "0.108.0"
|
||||
HUGO_ENV = "production"
|
||||
#HUGO_ENABLEGITINFO = "true"
|
||||
|
@ -11,12 +12,14 @@ HUGO_ENV = "production"
|
|||
command = "hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL"
|
||||
|
||||
[context.deploy-preview.environment]
|
||||
GO_VERSION = "1.18"
|
||||
HUGO_VERSION = "0.108.0"
|
||||
|
||||
[context.branch-deploy]
|
||||
command = "hugo --gc --minify -b $DEPLOY_PRIME_URL"
|
||||
|
||||
[context.branch-deploy.environment]
|
||||
GO_VERSION = "1.18"
|
||||
HUGO_VERSION = "0.108.0"
|
||||
|
||||
#[context.next.environment]
|
||||
|
|
Loading…
Reference in a new issue