runtimeterror/netlify.toml

39 lines
688 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]
HUGO_VERSION = "0.111.3"
[context.production]
command = """
hugo --minify
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 = """
hugo --minify --environment preview
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 = """
hugo --minify --environment drafts -D
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