-
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathnetlify.toml
More file actions
32 lines (25 loc) · 625 Bytes
/
Copy pathnetlify.toml
File metadata and controls
32 lines (25 loc) · 625 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
31
32
[build]
base = "documentation"
command = "npm run build"
publish = "build"
[build.environment]
NODE_VERSION = "18"
# Only deploy when changes are in the documentation folder
[build.processing]
skip_processing = false
# Ignore changes outside documentation folder
[build.processing.html]
pretty_urls = true
# Configure branch deployments
[context.production]
command = "npm run build"
# Configure PR previews
[context.deploy-preview]
command = "npm run build"
# Configure branch deploys
[context.branch-deploy]
command = "npm run build"
[[redirects]]
from = "/*"
to = "/index.html"
status = 200