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