forked from sourcegraph/about
-
Notifications
You must be signed in to change notification settings - Fork 0
/
netlify.toml
62 lines (51 loc) · 1.43 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
[build]
base = "website"
publish = "website/public"
command = "curl -sSL -o /tmp/docsite https://github.com/sourcegraph/docsite/releases/download/v1.1.0/docsite_v1.1.0_linux_amd64 && chmod +x /tmp/docsite && (cd .. && /tmp/docsite check) && yarn run build"
[build.environment]
YARN_VERSION = "1.15.2"
YARN_FLAGS = "--no-ignore-optional"
[[headers]]
for = "/*"
[headers.values]
X-Frame-Options = "DENY"
[[redirects]]
from = "/assets/*"
to = "https://about-docsite.sourcegraph.com/assets/:splat"
status = 200
force = true
[[redirects]]
from = "/community/*"
to = "https://about-docsite.sourcegraph.com/community/:splat"
status = 200
force = true
[[redirects]]
from = "/direction/*"
to = "https://about-docsite.sourcegraph.com/direction/:splat"
status = 200
force = true
[[redirects]]
from = "/company/*"
to = "https://about-docsite.sourcegraph.com/company/:splat"
status = 200
force = true
[[redirects]]
from = "/handbook/*"
to = "https://about-docsite.sourcegraph.com/handbook/:splat"
status = 200
force = true
[[redirects]]
from = "/retrospectives/*"
to = "https://about-docsite.sourcegraph.com/retrospectives/:splat"
status = 200
force = true
[[redirects]]
from = "/workflow/*"
to = "https://about-docsite.sourcegraph.com/workflow/:splat"
status = 200
force = true
[[redirects]]
from = "/search"
to = "https://about-docsite.sourcegraph.com/search"
status = 200
force = true