mirror of
https://github.com/docker/docs.git
synced 2026-03-27 22:38:54 +07:00
Separate dev dependencies like prettier to prevent them from being installed to build the site, unnecessarily. Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
14 lines
270 B
TOML
14 lines
270 B
TOML
[build]
|
|
publish = "public"
|
|
|
|
[context.deploy-preview.environment]
|
|
NODE_VERSION = "20"
|
|
NODE_ENV = "production"
|
|
HUGO_VERSION = "0.122.0"
|
|
HUGO_ENABLEGITINFO = "true"
|
|
HUGO_ENVIRONMENT = "preview"
|
|
|
|
[context.deploy-preview]
|
|
command = "hugo --gc --minify -b $DEPLOY_PRIME_URL"
|
|
|