mirror of
https://github.com/jbowdre/runtimeterror.git
synced 2024-11-22 23:12:19 +00:00
39 lines
No EOL
688 B
TOML
39 lines
No EOL
688 B
TOML
[build]
|
|
publish = "public"
|
|
|
|
[build.environment]
|
|
HUGO_VERSION = "0.121.1"
|
|
|
|
[context.production]
|
|
command = """
|
|
hugo --minify
|
|
npm i @torchlight-api/torchlight-cli
|
|
npx torchlight
|
|
"""
|
|
|
|
[context.preview]
|
|
command = """
|
|
hugo --minify --environment preview
|
|
npm i @torchlight-api/torchlight-cli
|
|
npx torchlight
|
|
"""
|
|
[[headers]]
|
|
for = "/*"
|
|
[headers.values]
|
|
X-Robots-Tag = "noindex"
|
|
|
|
[context.drafts]
|
|
command = """
|
|
hugo --minify --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 |