runtimeterror/netlify.toml

39 lines
661 B
TOML
Raw Normal View History

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