runtimeterror/netlify.toml

39 lines
661 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]
2023-12-30 16:20:19 -06:00
HUGO_VERSION = "0.121.1"
2023-11-05 19:35:14 -06:00
[context.production]
command = """
2024-01-15 14:04:59 -06:00
hugo
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 = """
2024-01-15 14:04:59 -06:00
hugo --environment preview
2023-11-05 19:35:14 -06:00
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 = """
2024-01-15 14:04:59 -06:00
hugo --environment drafts -D
2023-11-05 19:35:14 -06:00
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