forked from francep2p/p2p.paris
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnetlify.toml
36 lines (26 loc) · 877 Bytes
/
netlify.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
[build]
publish = "public"
command = "./pre-build.sh && hugo --gc && ./minify.sh"
[context.production.environment]
HUGO_VERSION = "0.59.1"
HUGO_ENV = "production"
HUGO_ENABLEGITINFO = "true"
[context.split1]
command = "./pre-build.sh && hugo --gc --enableGitInfo && ./minify.sh"
[context.split1.environment]
HUGO_VERSION = "0.59.1"
HUGO_ENV = "production"
[context.deploy-preview]
command = "./pre-build.sh && hugo --gc --buildFuture -b $DEPLOY_PRIME_URL && ./minify.sh"
[context.deploy-preview.environment]
HUGO_VERSION = "0.59.1"
[context.branch-deploy]
command = "./pre-build.sh && hugo --gc -b $DEPLOY_PRIME_URL && ./minify.sh"
[context.branch-deploy.environment]
HUGO_VERSION = "0.59.1"
[context.next.environment]
HUGO_ENABLEGITINFO = "true"
[[plugins]]
package = "netlify-plugin-submit-sitemap"
[[plugins]]
package = "netlify-plugin-hugo-cache-resources"