loi_re/netlify.toml

32 lines
663 B
TOML
Raw Normal View History

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