2020-04-15 15:48:16 +02:00
|
|
|
[build]
|
2020-11-04 08:26:58 +01:00
|
|
|
publish = "public"
|
|
|
|
functions = "functions"
|
2020-04-15 15:48:16 +02:00
|
|
|
|
|
|
|
[build.environment]
|
2021-06-24 08:02:21 +02:00
|
|
|
NODE_VERSION = "16.3.0"
|
|
|
|
NPM_VERSION = "7.16.0"
|
2021-07-05 08:51:59 +02:00
|
|
|
HUGO_VERSION = "0.84.4"
|
2020-11-04 08:26:58 +01:00
|
|
|
|
|
|
|
[context.production]
|
2021-07-05 08:51:59 +02:00
|
|
|
command = "hugo --gc --minify"
|
2020-04-15 15:48:16 +02:00
|
|
|
|
|
|
|
[context.deploy-preview]
|
2021-07-05 08:51:59 +02:00
|
|
|
command = "hugo --gc --minify -b $DEPLOY_PRIME_URL"
|
2020-04-15 15:48:16 +02:00
|
|
|
|
|
|
|
[context.branch-deploy]
|
2021-07-05 08:51:59 +02:00
|
|
|
command = "hugo --gc --minify -b $DEPLOY_PRIME_URL"
|
2021-04-02 19:45:05 +02:00
|
|
|
|
|
|
|
[context.next]
|
2021-07-05 08:51:59 +02:00
|
|
|
command = "hugo --gc --minify"
|
2021-04-02 19:45:05 +02:00
|
|
|
|
|
|
|
[context.next.environment]
|
|
|
|
HUGO_ENV = "next"
|
|
|
|
|
|
|
|
[dev]
|
|
|
|
framework = "#custom"
|
2021-07-05 08:51:59 +02:00
|
|
|
command = "shx rm -rf public resources && hugo server --bind=0.0.0.0 --disableFastRender"
|
2021-04-02 19:45:05 +02:00
|
|
|
targetPort = 1313
|
|
|
|
port = 8888
|
|
|
|
publish = "public"
|
|
|
|
autoLaunch = false
|