-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathnetlify.toml
More file actions
40 lines (33 loc) · 1.67 KB
/
Copy pathnetlify.toml
File metadata and controls
40 lines (33 loc) · 1.67 KB
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
[dev]
targetPort = 1103
[build]
command = "npm install -g bun && bun install && bun run build && bun scripts/sync-blob.ts && mkdir -p _netlify/builders && cp -r dist _netlify/builders/developers"
publish = "_netlify/builders"
environment = { NETLIFY = "true", LINEAR_CUSTOM_VIEW_ID = "27df73bc-50ec-4fc1-bbb2-d906236a5bbc" }
[context.production]
command = "npm install -g bun && bun install && bun run build && bun scripts/sync-blob.ts && mkdir -p _netlify/builders && cp -r dist _netlify/builders/developers"
publish = "_netlify/builders"
environment = { NETLIFY = "true", LINEAR_CUSTOM_VIEW_ID = "27df73bc-50ec-4fc1-bbb2-d906236a5bbc" }
[context.preview]
command = "npm install -g bun && bun install && bun run build && bun scripts/sync-blob.ts && mkdir -p _netlify/builders && cp -r dist _netlify/builders/developers"
publish = "_netlify/builders"
environment = { NETLIFY = "true", LINEAR_CUSTOM_VIEW_ID = "27df73bc-50ec-4fc1-bbb2-d906236a5bbc" }
[context.deploy-preview]
command = "npm install -g bun && bun install && bun run build && bun scripts/sync-blob.ts && mkdir -p _netlify/builders && cp -r dist _netlify/builders/developers"
publish = "_netlify/builders"
environment = { NETLIFY = "true", LINEAR_CUSTOM_VIEW_ID = "27df73bc-50ec-4fc1-bbb2-d906236a5bbc" }
# Route roadmap to Netlify SSR function (reads from blob store on-demand)
[[redirects]]
from = "/developers/roadmap"
to = "/.netlify/functions/ssr"
status = 200
# Rewrite everything to /developers/index.html for client-side routing
[[redirects]]
from = "/developers/*"
to = "/developers/index.html"
status = 200
# Root redirect
[[redirects]]
from = "/"
to = "/developers/"
status = 301