-
Notifications
You must be signed in to change notification settings - Fork 1
/
netlify.toml
41 lines (32 loc) · 1.03 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
# Production context: All deploys to the main
# repository branch will inherit these settings.
[context.production]
command = "hugo --theme=devopsdays-theme --buildDrafts=false"
publish = "public/"
[context.deploy-preview]
command = "hugo --theme=devopsdays-theme --buildDrafts=false"
publish = "public/"
skip_processing = true
[context.branch-deploy]
command = "hugo --theme=devopsdays-theme --buildDrafts=false"
publish = "public/"
skip_processing = true
#[build.processing]
# skip_processing = true
[context.production.environment]
HUGO_VERSION = "0.123.3"
[context.deploy-preview.environment]
HUGO_VERSION = "0.123.3"
[context.branch-deploy.environment]
HUGO_VERSION = "0.123.3"
# Mastodon Configuration
[[redirects]]
from = "/.well-known/webfinger/*"
to = "https://social.devopsdays.org/:splat"
status = 301
[[headers]]
for = "/.well-known/webfinger/*"
[headers.values]
Access-Control-Allow-Origin = "*"
#[[plugins]]
# package = "netlify-plugin-hashfiles"