mirror of
https://gitlab.com/ansol/web-ansol.org.git
synced 2024-12-01 10:08:48 +00:00
29 lines
708 B
TOML
29 lines
708 B
TOML
[build]
|
|
command = "hugo --gc --minify -b $URL --themesDir ../../"
|
|
base = "exampleSite"
|
|
publish = "exampleSite/public"
|
|
|
|
[build.environment]
|
|
HUGO_THEME = "repo"
|
|
HUGO_VERSION = "0.72.0"
|
|
HUGO_ENABLEGITINFO = "true"
|
|
|
|
[context.production.environment]
|
|
HUGO_ENV = "production"
|
|
|
|
[context.deploy-preview]
|
|
command = "hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL --themesDir ../../"
|
|
|
|
[context.branch-deploy]
|
|
command = "hugo --gc --minify -b $DEPLOY_PRIME_URL --themesDir ../../"
|
|
|
|
[[headers]]
|
|
for = "*.webmanifest"
|
|
[headers.values]
|
|
Content-Type = "application/manifest+json; charset=UTF-8"
|
|
|
|
[[headers]]
|
|
for = "index.xml"
|
|
[headers.values]
|
|
Content-Type = "application/rss+xml"
|