mirror of
https://gitea.invidious.io/iv-org/invidious.io.git
synced 2024-08-15 00:53:27 +00:00
31 lines
663 B
TOML
31 lines
663 B
TOML
[build]
|
|
publish = "public"
|
|
functions = "functions"
|
|
|
|
[build.environment]
|
|
NODE_VERSION = "16.3.0"
|
|
NPM_VERSION = "7.16.0"
|
|
HUGO_VERSION = "0.84.4"
|
|
|
|
[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
|