mirror of
https://github.com/jbowdre/runtimeterror.git
synced 2024-11-14 03:52:19 +00:00
39 lines
No EOL
661 B
TOML
39 lines
No EOL
661 B
TOML
[build]
|
|
publish = "public"
|
|
|
|
[build.environment]
|
|
HUGO_VERSION = "0.121.1"
|
|
|
|
[context.production]
|
|
command = """
|
|
hugo
|
|
npm i @torchlight-api/torchlight-cli
|
|
npx torchlight
|
|
"""
|
|
|
|
[context.preview]
|
|
command = """
|
|
hugo --environment preview
|
|
npm i @torchlight-api/torchlight-cli
|
|
npx torchlight
|
|
"""
|
|
[[headers]]
|
|
for = "/*"
|
|
[headers.values]
|
|
X-Robots-Tag = "noindex"
|
|
|
|
[context.drafts]
|
|
command = """
|
|
hugo --environment drafts -D
|
|
npm i @torchlight-api/torchlight-cli
|
|
npx torchlight
|
|
"""
|
|
[[headers]]
|
|
for = "/*"
|
|
[headers.values]
|
|
X-Robots-Tag = "noindex"
|
|
|
|
[[redirects]]
|
|
from = "/*"
|
|
to = "/404/"
|
|
status = 404 |