-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnetlify.toml
50 lines (40 loc) · 1.32 KB
/
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
[build]
publish = "public"
command = "hugo --gc --minify"
# URL: https://kwb.netlify.app/
[context.production.environment]
HUGO_VERSION = "0.74.3"
HUGO_ENV = "production"
#HUGO_BASEURL = "https://kwb.netlify.app/"
HUGO_ENABLEGITINFO = "false"
ALGOLIA_DE_PUBS_INDEX_NAME = "prod_kwb_de_pubs"
ALGOLIA_EN_PUBS_INDEX_NAME = "prod_kwb_en_pubs"
[context.production]
command = "hugo --gc --minify && algolia/run-index-upload.sh -p"
# URL: https://dev--kwb.netlify.app/
[context.dev.environment]
HUGO_VERSION = "0.74.3"
HUGO_ENV = "development"
HUGO_ENABLEGITINFO = "false"
ALGOLIA_DE_PUBS_INDEX_NAME = "dev_kwb_de_pubs"
ALGOLIA_EN_PUBS_INDEX_NAME = "dev_kwb_en_pubs"
[context.dev]
command = "hugo --gc --minify -b $DEPLOY_PRIME_URL && algolia/run-index-upload.sh -p"
[context.deploy-preview]
command = "hugo --gc --minify -b $DEPLOY_PRIME_URL"
[context.deploy-preview.environment]
HUGO_VERSION = "0.74.3"
HUGO_ENV = "development"
[context.branch-deploy]
command = "hugo --gc --minify -b $DEPLOY_PRIME_URL"
[context.branch-deploy.environment]
HUGO_VERSION = "0.74.3"
HUGO_ENV = "development"
[[headers]]
for = "*.webmanifest"
[headers.values]
Content-Type = "application/manifest+json; charset=UTF-8"
[[headers]]
for = "index.xml"
[headers.values]
Content-Type = "application/rss+xml"