forked from openshift/cloud-provider-aws
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnetlify.toml
More file actions
30 lines (26 loc) · 751 Bytes
/
netlify.toml
File metadata and controls
30 lines (26 loc) · 751 Bytes
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.7"
# 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