mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
ec920363cd
4c5edacfe cSpell config update (#1700) 9df788b25 Fix broken link (hugo modules) (#1710) 9928a70d6 Fix workspace formatting (#1707) 55467e7c8 Update partials.md 9f4bd0023 Update formats.md 9b3913c86 Remove footnoteAnchorPrefix and footnoteReturnLinkContents (#1704) 94502a09b Code block render hooks are introduced in v0.93.0 (#1701) c447270ef Update sitemap-template.md 78665c1e0 Update sitemap-template.md 60653c17d Update the caddy error docs link (#1696) 9a3675aad Update sitemap templates (#1699) e0d08cdbb Add wpxr-to-static to list of migration tools (#1512) b53eb5a08 Add page for deploying with rclone (#1511) 4207c57ff netlify: Hugo 0.96.0 a18d646ea docs: Regen docshelper e3e0981ed docs: Regen CLI docs fda988d01 Merge commit 'd276e901b36d2576ef8350ed96b17f66254eac1b' e4a26dbca tpl/crypto: Add optional encoding arg to hmac function git-subtree-dir: docs git-subtree-split: 4c5edacfeebd13eb7f876723c065466cd50e0cae
35 lines
720 B
TOML
35 lines
720 B
TOML
[build]
|
|
publish = "public"
|
|
command = "hugo --gc --minify"
|
|
|
|
[context.production.environment]
|
|
HUGO_VERSION = "0.96.0"
|
|
HUGO_ENV = "production"
|
|
HUGO_ENABLEGITINFO = "true"
|
|
|
|
[context.split1]
|
|
command = "hugo --gc --minify --enableGitInfo"
|
|
|
|
[context.split1.environment]
|
|
HUGO_VERSION = "0.96.0"
|
|
HUGO_ENV = "production"
|
|
|
|
[context.deploy-preview]
|
|
command = "hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL"
|
|
|
|
[context.deploy-preview.environment]
|
|
HUGO_VERSION = "0.96.0"
|
|
|
|
[context.branch-deploy]
|
|
command = "hugo --gc --minify -b $DEPLOY_PRIME_URL"
|
|
|
|
[context.branch-deploy.environment]
|
|
HUGO_VERSION = "0.96.0"
|
|
|
|
[context.next.environment]
|
|
HUGO_ENABLEGITINFO = "true"
|
|
|
|
[[redirects]]
|
|
from = "/npmjs/*"
|
|
to = "/npmjs/"
|
|
status = 200
|