2020-08-24 17:03:13 -04:00
|
|
|
[build]
|
|
|
|
publish = "exampleSite/public"
|
|
|
|
|
|
|
|
[build.environment]
|
2024-03-17 15:40:56 -04:00
|
|
|
HUGO_VERSION = "0.124.0"
|
2020-08-24 17:12:57 -04:00
|
|
|
HUGO_THEME = "repo"
|
|
|
|
|
|
|
|
[context.production]
|
2020-09-13 04:51:31 -04:00
|
|
|
command = "cd exampleSite && hugo --gc --themesDir ../.. -b ${URL}"
|
2020-09-06 07:35:55 -04:00
|
|
|
[context.production.environment]
|
|
|
|
HUGO_ENV = "production"
|
2020-08-24 17:12:57 -04:00
|
|
|
|
|
|
|
[context.branch-deploy]
|
2020-09-13 04:51:31 -04:00
|
|
|
command = "cd exampleSite && hugo --gc --themesDir ../.. -b ${DEPLOY_PRIME_URL}"
|
2020-08-24 17:12:57 -04:00
|
|
|
|
|
|
|
[context.deploy-preview]
|
2020-09-17 16:21:14 -04:00
|
|
|
command = "cd exampleSite && hugo --gc --themesDir ../.. -b ${DEPLOY_PRIME_URL}"
|
|
|
|
|
|
|
|
[[plugins]]
|
2021-07-09 07:12:03 -04:00
|
|
|
package = "netlify-plugin-hugo-cache-resources"
|
|
|
|
|
|
|
|
[plugins.inputs]
|
|
|
|
# If it should show more verbose logs (optional, default = true)
|
|
|
|
debug = true
|
|
|
|
# Relative path to source directory in case you use Hugo's "--s" option
|
2022-06-11 04:59:20 -04:00
|
|
|
srcdir = "exampleSite"
|