ci(netlify): add resources cache

Modified https://github.com/cdeleeuwe/netlify-plugin-hugo-cache-resources, set cache dir to `exampleSite/resources`
This commit is contained in:
Jimmy Cai
2020-09-17 22:21:14 +02:00
parent bad33e19ae
commit c597c208a8
4 changed files with 75 additions and 1 deletions
+4 -1
View File
@@ -14,4 +14,7 @@
command = "cd exampleSite && hugo --gc --themesDir ../.. -b ${DEPLOY_PRIME_URL}"
[context.deploy-preview]
command = "cd exampleSite && hugo --gc --themesDir ../.. -b ${DEPLOY_PRIME_URL}"
command = "cd exampleSite && hugo --gc --themesDir ../.. -b ${DEPLOY_PRIME_URL}"
[[plugins]]
package = "/.netlify/plugins/netlify-plugin-hugo-cache-resources"