netlify.toml 801 Bytes
Newer Older
Christopher Guindon's avatar
Christopher Guindon committed
1
2
3
4
5
[build]
publish = "public"
command = "npm run build_netlify && hugo --gc --minify -b https://eclipsefdn-openmdm.netlify.com"

[context.production.environment]
6
HUGO_VERSION = "0.76.5"
Christopher Guindon's avatar
Christopher Guindon committed
7
8
9
10
11
12
13
HUGO_ENV = "production"
HUGO_ENABLEGITINFO = "true"

[context.split1]
command = "npm run build_netlify && hugo --gc --minify --enableGitInfo"

[context.split1.environment]
14
HUGO_VERSION = "0.76.5"
Christopher Guindon's avatar
Christopher Guindon committed
15
16
17
18
19
20
HUGO_ENV = "production"

[context.deploy-preview]
command = "npm run build_netlify && hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL"

[context.deploy-preview.environment]
21
HUGO_VERSION = "0.76.5"
Christopher Guindon's avatar
Christopher Guindon committed
22
23
24
25
26

[context.branch-deploy]
command = "npm run build_netlify && hugo --gc --minify -b $DEPLOY_PRIME_URL"

[context.branch-deploy.environment]
27
HUGO_VERSION = "0.76.5"
Christopher Guindon's avatar
Christopher Guindon committed
28
29
30

[context.next.environment]
HUGO_ENABLEGITINFO = "true"