forked from kubernetes-sigs/cluster-api-provider-aws
-
Notifications
You must be signed in to change notification settings - Fork 0
/
netlify.toml
45 lines (38 loc) · 1.17 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
# Netlify build instructions
[build]
command = "make -C docs/book build"
publish = "docs/book/book"
[build.environment]
GO_VERSION = "1.22.6"
# Standard Netlify redirects
[[redirects]]
from = "https://master--cluster-api-aws.netlify.com/*"
to = "https://main.cluster-api-aws.sigs.k8s.io/:splat"
status = 301
force = true
[[redirects]]
from = "https://main--cluster-api-aws.netlify.com/*"
to = "https://main.cluster-api-aws.sigs.k8s.io/:splat"
status = 301
force = true
# HTTP-to-HTTPS rules
[[redirects]]
from = "http://master.cluster-api-aws.sigs.k8s.io/*"
to = "https://main.cluster-api-aws.sigs.k8s.io/:splat"
status = 301
force = true
[[redirects]]
from = "http://main.cluster-api-aws.sigs.k8s.io/*"
to = "https://main.cluster-api-aws.sigs.k8s.io/:splat"
status = 301
force = true
[[redirects]]
from = "http://master--cluster-api-aws.netlify.com/*"
to = "http://main.cluster-api-aws.sigs.k8s.io/:splat"
status = 301
force = true
[[redirects]]
from = "http://main--cluster-api-aws.netlify.com/*"
to = "http://main.cluster-api-aws.sigs.k8s.io/:splat"
status = 301
force = true