forked from kubernetes-sigs/cloud-provider-azure
-
Notifications
You must be signed in to change notification settings - Fork 3
/
netlify.toml
29 lines (25 loc) · 840 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
# Netlify build instructions
[build]
command = "npm install postcss-cli && npm install autoprefixer && npm audit fix && hugo --minify"
base = "site/"
publish = "public/"
[build.environment]
GO_VERSION = "1.18"
HUGO_VERSION = "0.96.0"
# Standard Netlify redirects
[[redirects]]
from = "https://kubernetes-sigs-cloud-provide-azure.netlify.app/*"
to = "https://cloud-provider-azure.sigs.k8s.io/:splat"
status = 301
force = true
# HTTP-to-HTTPS rules
[[redirects]]
from = "http://kubernetes-sigs-cloud-provide-azure.netlify.app/*"
to = "https://cloud-provider-azure.sigs.k8s.io/:splat"
status = 301
force = true
[[redirects]]
from = "http://kubernetes-sigs-cloud-provide-azure.netlify.app/*"
to = "http://cloud-provider-azure.sigs.k8s.io/:splat"
status = 301
force = true