-
Notifications
You must be signed in to change notification settings - Fork 302
/
netlify.toml
30 lines (26 loc) · 751 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
# Netlify build
[build]
publish = "site"
command = """
pip install mkdocs && pip install mkdocs-material
mkdocs build -d site
"""
[build.environment]
PYTHON_VERSION = "3.8"
# Netlify redirects
[[redirects]]
from = "https://kubernetes-sigs-cloud-provider-aws.netlify.com/*"
to = "https://cloud-provider-aws.sigs.k8s.io/:splat"
status = 301
force = true
# HTTP -> HTTPS
[[redirects]]
from = "http://cloud-provider-aws.sigs.k8s.io/*"
to = "https://cloud-provider-aws.sigs.k8s.io/:splat"
status = 301
force = true
[[redirects]]
from = "http://kubernetes-sigs-cloud-provider-aws.netlify.com/*"
to = "http://cloud-provider-aws.sigs.k8s.io/:splat"
status = 301
force = true