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-01-12 11:31:13 +01:00
|
|
|
NODE_VERSION = "15.5.1"
|
|
|
|
NPM_VERSION = "7.3.0"
|
2020-11-04 08:26:58 +01:00
|
|
|
|
|
|
|
[context.production]
|
2021-04-02 19:45:05 +02:00
|
|
|
command = "npx hugo --gc --minify && npx netlify-lambda build assets/lambda"
|
2020-04-15 15:48:16 +02:00
|
|
|
|
|
|
|
[context.deploy-preview]
|
2021-03-17 15:32:42 +01:00
|
|
|
command = "npx hugo --gc --minify -b $DEPLOY_PRIME_URL"
|
2020-04-15 15:48:16 +02:00
|
|
|
|
|
|
|
[context.branch-deploy]
|
2021-03-17 15:32:42 +01:00
|
|
|
command = "npx hugo --gc --minify -b $DEPLOY_PRIME_URL"
|
2021-04-02 19:45:05 +02:00
|
|
|
|
|
|
|
[context.next]
|
|
|
|
command = "npx hugo --gc --minify && npx netlify-lambda build assets/lambda"
|
|
|
|
|
|
|
|
[context.next.environment]
|
|
|
|
HUGO_ENV = "next"
|
|
|
|
|
|
|
|
[dev]
|
|
|
|
framework = "#custom"
|
|
|
|
command = "npx rimraf public resources functions && npx hugo server --bind=0.0.0.0 --disableFastRender"
|
|
|
|
targetPort = 1313
|
|
|
|
port = 8888
|
|
|
|
publish = "public"
|
|
|
|
autoLaunch = false
|