2021-03-18 10:50:09 -04:00
|
|
|
[build]
|
|
|
|
publish = "public"
|
|
|
|
functions = "functions"
|
|
|
|
|
|
|
|
[build.environment]
|
2021-06-25 10:49:17 -04:00
|
|
|
NODE_VERSION = "16.3.0"
|
|
|
|
NPM_VERSION = "7.16.0"
|
2021-07-05 06:38:45 -04:00
|
|
|
HUGO_VERSION = "0.84.4"
|
2021-03-18 10:50:09 -04:00
|
|
|
|
|
|
|
[context.production]
|
2021-07-05 06:38:45 -04:00
|
|
|
command = "hugo --gc --minify"
|
2021-03-18 10:50:09 -04:00
|
|
|
|
|
|
|
[context.deploy-preview]
|
2021-07-05 06:38:45 -04:00
|
|
|
command = "hugo --gc --minify -b $DEPLOY_PRIME_URL"
|
2021-03-18 10:50:09 -04:00
|
|
|
|
|
|
|
[context.branch-deploy]
|
2021-07-05 06:38:45 -04:00
|
|
|
command = "hugo --gc --minify -b $DEPLOY_PRIME_URL"
|
2021-04-02 14:27:40 -04:00
|
|
|
|
|
|
|
[context.next]
|
2021-07-05 06:38:45 -04:00
|
|
|
command = "hugo --gc --minify"
|
2021-04-02 14:27:40 -04:00
|
|
|
|
|
|
|
[context.next.environment]
|
|
|
|
HUGO_ENV = "next"
|
|
|
|
|
|
|
|
[dev]
|
|
|
|
framework = "#custom"
|
2021-07-05 06:38:45 -04:00
|
|
|
command = "shx rm -rf public resources && hugo server --bind=0.0.0.0 --disableFastRender"
|
2021-04-02 14:27:40 -04:00
|
|
|
targetPort = 1313
|
|
|
|
port = 8888
|
|
|
|
publish = "public"
|
|
|
|
autoLaunch = false
|