2020-08-24 21:03:13 +00:00
|
|
|
[build]
|
|
|
|
publish = "exampleSite/public"
|
|
|
|
|
|
|
|
[build.environment]
|
2021-08-08 15:39:33 +00:00
|
|
|
HUGO_VERSION = "0.87.0"
|
2020-08-24 21:12:57 +00:00
|
|
|
HUGO_THEME = "repo"
|
|
|
|
|
|
|
|
[context.production]
|
2020-09-13 08:51:31 +00:00
|
|
|
command = "cd exampleSite && hugo --gc --themesDir ../.. -b ${URL}"
|
2020-09-06 11:35:55 +00:00
|
|
|
[context.production.environment]
|
|
|
|
HUGO_ENV = "production"
|
2020-08-24 21:12:57 +00:00
|
|
|
|
|
|
|
[context.branch-deploy]
|
2020-09-13 08:51:31 +00:00
|
|
|
command = "cd exampleSite && hugo --gc --themesDir ../.. -b ${DEPLOY_PRIME_URL}"
|
2020-08-24 21:12:57 +00:00
|
|
|
|
|
|
|
[context.deploy-preview]
|
2020-09-17 20:21:14 +00:00
|
|
|
command = "cd exampleSite && hugo --gc --themesDir ../.. -b ${DEPLOY_PRIME_URL}"
|
|
|
|
|
|
|
|
[[plugins]]
|
2021-07-09 11:12:03 +00: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
|
2021-07-09 11:21:46 +00:00
|
|
|
srcdir = "exampleSite"
|