forked from helm/helm-www
-
Notifications
You must be signed in to change notification settings - Fork 0
/
netlify.toml
executable file
·46 lines (36 loc) · 965 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
43
44
45
46
[build]
command = "make build"
publish = "app"
[build.environment]
HUGO_VERSION = "0.82.0"
HUGO_ENABLEGITINFO = "true"
[context.production.environment]
HUGO_ENV = "production"
[context.deploy-preview]
command = "make build-preview"
[context.branch-deploy]
command = "make build-preview"
# redirect docs homepage
[[redirects]]
from = "https://docs.helm.sh/"
to = "https://helm.sh/docs/"
# redirect docs subpages
[[redirects]]
from = "https://docs.helm.sh/*"
to = "https://helm.sh/docs/:splat"
[[redirects]]
from = "/docs/developing_charts/"
to = "https://v2.helm.sh/docs/developing_charts/"
# redirect Go package lookups
[[redirects]]
from = "/helm/v3/*"
to = "/helm/v3"
status = 200
[[redirects]]
from = "/helm/v2/*"
to = "/helm/v2"
status = 200
[[redirects]]
from = "/calendar/release"
to = "https://calendar.google.com/calendar/u/0/embed?src=8tji8e0obp5skr2pval9g55ftk@group.calendar.google.com"
status = 302