2020-08-24 23:03:13 +02:00
|
|
|
[build]
|
|
|
|
publish = "exampleSite/public"
|
|
|
|
|
|
|
|
[build.environment]
|
2020-12-04 16:28:42 +01:00
|
|
|
HUGO_VERSION = "0.79.0"
|
2020-08-24 23:12:57 +02:00
|
|
|
HUGO_THEME = "repo"
|
|
|
|
|
|
|
|
[context.production]
|
2020-09-13 10:51:31 +02:00
|
|
|
command = "cd exampleSite && hugo --gc --themesDir ../.. -b ${URL}"
|
2020-09-06 13:35:55 +02:00
|
|
|
[context.production.environment]
|
|
|
|
HUGO_ENV = "production"
|
2020-08-24 23:12:57 +02:00
|
|
|
|
|
|
|
[context.branch-deploy]
|
2020-09-13 10:51:31 +02:00
|
|
|
command = "cd exampleSite && hugo --gc --themesDir ../.. -b ${DEPLOY_PRIME_URL}"
|
2020-08-24 23:12:57 +02:00
|
|
|
|
|
|
|
[context.deploy-preview]
|
2020-09-17 22:21:14 +02:00
|
|
|
command = "cd exampleSite && hugo --gc --themesDir ../.. -b ${DEPLOY_PRIME_URL}"
|
|
|
|
|
|
|
|
[[plugins]]
|
2020-09-17 22:30:21 +02:00
|
|
|
package = "/exampleSite/plugins/netlify-plugin-hugo-cache-resources"
|