2022-10-29 00:38:20 +02:00
|
|
|
[build]
|
|
|
|
publish = "public"
|
2022-10-29 01:00:07 +02:00
|
|
|
command = "hugo --gc --minify"
|
2022-10-29 00:38:20 +02:00
|
|
|
|
|
|
|
[context.production.environment]
|
|
|
|
HUGO_VERSION = "0.105.0"
|
|
|
|
HUGO_ENV = "production"
|
|
|
|
HUGO_ENABLEGITINFO = "true"
|
|
|
|
|
2022-10-29 01:00:07 +02:00
|
|
|
[context.split1]
|
|
|
|
command = "hugo --gc --minify --enableGitInfo"
|
|
|
|
|
2022-10-29 00:38:20 +02:00
|
|
|
[context.split1.environment]
|
|
|
|
HUGO_VERSION = "0.105.0"
|
|
|
|
HUGO_ENV = "production"
|
|
|
|
|
2022-10-29 01:00:07 +02:00
|
|
|
[context.deploy-preview]
|
|
|
|
command = "hugo --gc --minify --buildFuture $DEPLOY_PRIME_URL"
|
|
|
|
|
2022-10-29 00:38:20 +02:00
|
|
|
[context.deploy-preview.environment]
|
|
|
|
HUGO_VERSION = "0.105.0"
|
|
|
|
|
2022-10-29 01:00:07 +02:00
|
|
|
[context.branch-deploy]
|
|
|
|
command = "hugo --gc --minify $DEPLOY_PRIME_URL"
|
|
|
|
|
2022-10-29 00:38:20 +02:00
|
|
|
[context.branch-deploy.environment]
|
|
|
|
HUGO_VERSION = "0.105.0"
|
|
|
|
|
|
|
|
[context.next.environment]
|
|
|
|
HUGO_ENABLEGITINFO = "true"
|
|
|
|
|
|
|
|
[[redirects]]
|
|
|
|
from = "/npmjs/*"
|
|
|
|
to = "/npmjs/"
|
2022-10-29 01:00:07 +02:00
|
|
|
status = 200
|