32 lines
663 B
TOML
32 lines
663 B
TOML
[build]
|
|
publish = "public"
|
|
functions = "functions"
|
|
|
|
[build.environment]
|
|
NODE_VERSION = "16.3.0"
|
|
NPM_VERSION = "7.16.0"
|
|
HUGO_VERSION = "0.87.0"
|
|
|
|
[context.production]
|
|
command = "hugo --gc --minify"
|
|
|
|
[context.deploy-preview]
|
|
command = "hugo --gc --minify -b $DEPLOY_PRIME_URL"
|
|
|
|
[context.branch-deploy]
|
|
command = "hugo --gc --minify -b $DEPLOY_PRIME_URL"
|
|
|
|
[context.next]
|
|
command = "hugo --gc --minify"
|
|
|
|
[context.next.environment]
|
|
HUGO_ENV = "next"
|
|
|
|
[dev]
|
|
framework = "#custom"
|
|
command = "shx rm -rf public resources && hugo server --bind=0.0.0.0 --disableFastRender"
|
|
targetPort = 1313
|
|
port = 8888
|
|
publish = "public"
|
|
autoLaunch = false
|