2017-08-10 17:18:22 +02:00
|
|
|
[build]
|
2018-02-10 12:51:31 +01:00
|
|
|
publish = "public"
|
2018-12-12 09:05:31 +01:00
|
|
|
command = "hugo --gc --minify"
|
2017-08-10 17:18:22 +02:00
|
|
|
|
|
|
|
[context.production.environment]
|
2019-03-26 18:41:09 +01:00
|
|
|
HUGO_VERSION = "0.54.0"
|
2018-02-10 12:51:31 +01:00
|
|
|
HUGO_ENV = "production"
|
|
|
|
HUGO_ENABLEGITINFO = "true"
|
|
|
|
|
2018-02-27 09:36:36 +01:00
|
|
|
[context.split1]
|
2019-03-26 18:41:09 +01:00
|
|
|
command = "hugo --gc --minify --enableGitInfo"
|
2018-02-27 09:36:36 +01:00
|
|
|
|
|
|
|
[context.split1.environment]
|
2019-03-26 18:41:09 +01:00
|
|
|
HUGO_VERSION = "0.54.0"
|
2018-02-27 09:36:36 +01:00
|
|
|
HUGO_ENV = "production"
|
|
|
|
|
2018-02-10 12:51:31 +01:00
|
|
|
[context.deploy-preview]
|
2019-03-26 18:41:09 +01:00
|
|
|
command = "hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL"
|
2017-08-10 17:18:22 +02:00
|
|
|
|
|
|
|
[context.deploy-preview.environment]
|
2019-03-26 18:41:09 +01:00
|
|
|
HUGO_VERSION = "0.54.0"
|
2018-02-10 12:51:31 +01:00
|
|
|
|
|
|
|
[context.branch-deploy]
|
2019-03-26 18:41:09 +01:00
|
|
|
command = "hugo --gc --minify -b $DEPLOY_PRIME_URL"
|
2017-08-10 17:18:22 +02:00
|
|
|
|
|
|
|
[context.branch-deploy.environment]
|
2019-03-26 18:41:09 +01:00
|
|
|
HUGO_VERSION = "0.54.0"
|
2017-08-10 17:18:22 +02:00
|
|
|
|
|
|
|
[context.next.environment]
|
2018-02-10 12:51:31 +01:00
|
|
|
HUGO_ENABLEGITINFO = "true"
|
2018-02-27 09:36:36 +01:00
|
|
|
|