runtimeterror/netlify.toml

39 lines
688 B
TOML
Raw Normal View History

2023-08-20 13:46:42 -05:00
[build]
2023-11-05 19:35:14 -06:00
publish = "public"
[build.environment]
HUGO_VERSION = "0.111.3"
[context.production]
command = """
hugo --minify
2023-11-04 21:19:42 -05:00
npm i @torchlight-api/torchlight-cli
2023-11-04 21:11:38 -05:00
npx torchlight
"""
2023-08-20 13:46:42 -05:00
2023-11-05 19:35:14 -06:00
[context.preview]
command = """
hugo --minify --environment preview
npm i @torchlight-api/torchlight-cli
npx torchlight
"""
[[headers]]
for = "/*"
[headers.values]
X-Robots-Tag = "noindex"
2023-08-20 13:46:42 -05:00
2023-11-05 19:35:14 -06:00
[context.drafts]
command = """
hugo --minify --environment drafts -D
npm i @torchlight-api/torchlight-cli
npx torchlight
"""
[[headers]]
for = "/*"
[headers.values]
X-Robots-Tag = "noindex"
2023-08-22 14:10:38 -05:00
[[redirects]]
from = "/*"
to = "/404/"
status = 404