-
Notifications
You must be signed in to change notification settings - Fork 96
Expand file tree
/
Copy pathnetlify.toml
More file actions
33 lines (27 loc) · 822 Bytes
/
netlify.toml
File metadata and controls
33 lines (27 loc) · 822 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
33
[build]
publish = "dist"
command = "bundle exec jekyll build --config jekyll.yml"
[build.environment]
JEKYLL_ENV = "development"
BUNDLE_WITHOUT = "development"
NODE_OPTIONS = "--max_old_space_size=8192"
# Disable dev/CI tools not needed for build (only need ruby, node, yarn)
MISE_DISABLE_TOOLS = "python,go,vale,shellcheck,shellspec,npm:markdownlint-cli2"
[context.production.environment]
JEKYLL_ENV = "production"
[context.deploy-preview.environment]
JEKYLL_ENV = "preview"
[dev]
# netlify automatically figures out and starts the framework, which in our case
# is vite
autoLaunch = false
port = 7777
targetPort = 3000
[[redirects]]
from = "/fixtures/*"
to = "/spec/fixtures/:splat"
status = 200
[[headers]]
for = "/fixtures/*"
[headers.values]
Cache-Control = "no-cache"