forked from devopsdays/devopsdays-web
-
Notifications
You must be signed in to change notification settings - Fork 1
/
netlify.toml
41 lines (32 loc) · 925 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
37
38
39
40
41
# Production context: All deploys to the main
# repository branch will inherit these settings.
[context.production]
command = "bin/netlify-production.sh"
publish = "public/"
[context.deploy-preview]
command = "bin/netlify.sh"
publish = "public/"
skip_processing = true
[context.branch-deploy]
command = "bin/netlify.sh"
publish = "public/"
skip_processing = true
#[build.processing]
# skip_processing = true
[context.production.environment]
HUGO_VERSION = "0.121.2"
[context.deploy-preview.environment]
HUGO_VERSION = "0.121.2"
[context.branch-deploy.environment]
HUGO_VERSION = "0.121.2"
# 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"