2019-10-21 04:22:28 -04:00
|
|
|
[build]
|
2023-09-24 05:54:45 -04:00
|
|
|
publish = "public"
|
|
|
|
command = "hugo --gc --minify"
|
2019-10-21 04:22:28 -04:00
|
|
|
|
2023-09-24 05:54:45 -04:00
|
|
|
[build.environment]
|
2023-10-20 03:42:39 -04:00
|
|
|
HUGO_VERSION = "0.119.0"
|
2023-08-30 13:23:47 -04:00
|
|
|
|
2019-10-21 04:22:28 -04:00
|
|
|
[context.production.environment]
|
2023-09-24 05:54:45 -04:00
|
|
|
HUGO_ENV = "production"
|
|
|
|
HUGO_ENABLEGITINFO = "true"
|
2019-10-21 04:22:28 -04:00
|
|
|
|
|
|
|
[context.split1]
|
2023-09-24 05:54:45 -04:00
|
|
|
command = "hugo --gc --minify --enableGitInfo"
|
2019-10-21 04:22:28 -04:00
|
|
|
|
2023-09-24 05:54:45 -04:00
|
|
|
[context.split1.environment]
|
|
|
|
HUGO_ENV = "production"
|
2019-10-21 04:22:28 -04:00
|
|
|
|
|
|
|
[context.deploy-preview]
|
2023-09-24 05:54:45 -04:00
|
|
|
command = "hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL"
|
2019-10-21 04:22:28 -04:00
|
|
|
|
|
|
|
[context.branch-deploy]
|
2023-09-24 05:54:45 -04:00
|
|
|
command = "hugo --gc --minify -b $DEPLOY_PRIME_URL"
|
2019-10-21 04:22:28 -04:00
|
|
|
|
|
|
|
[context.next.environment]
|
2023-09-24 05:54:45 -04:00
|
|
|
HUGO_ENABLEGITINFO = "true"
|
2019-10-21 04:22:28 -04:00
|
|
|
|
2021-10-31 08:51:51 -04:00
|
|
|
[[redirects]]
|
2023-09-24 05:54:45 -04:00
|
|
|
from = "/npmjs/*"
|
|
|
|
to = "/npmjs/"
|
|
|
|
status = 200
|