-
Notifications
You must be signed in to change notification settings - Fork 667
/
netlify.toml
42 lines (33 loc) · 969 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
42
# 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.126.1"
[context.deploy-preview.environment]
HUGO_VERSION = "0.126.1"
[context.branch-deploy.environment]
HUGO_VERSION = "0.126.1"
# 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"
package = "netlify-plugin-cache-resources"