Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CaiJimmy/hugo-theme-stack.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJimmy Cai <jimmehcai@gmail.com>2020-09-17 23:21:14 +0300
committerJimmy Cai <jimmehcai@gmail.com>2020-09-17 23:21:14 +0300
commitc597c208a819e42d05f9e07c9b336790156c5756 (patch)
treec30c790f6548aab6130165da0557100fe08459f2 /netlify.toml
parentbad33e19aea83c92e18ea9ebe9871d94063c98c0 (diff)
ci(netlify): add resources cache
Modified https://github.com/cdeleeuwe/netlify-plugin-hugo-cache-resources, set cache dir to `exampleSite/resources`
Diffstat (limited to 'netlify.toml')
-rw-r--r--netlify.toml5
1 files changed, 4 insertions, 1 deletions
diff --git a/netlify.toml b/netlify.toml
index 55ebd33..89f501b 100644
--- a/netlify.toml
+++ b/netlify.toml
@@ -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}" \ No newline at end of file
+ command = "cd exampleSite && hugo --gc --themesDir ../.. -b ${DEPLOY_PRIME_URL}"
+
+[[plugins]]
+ package = "/.netlify/plugins/netlify-plugin-hugo-cache-resources" \ No newline at end of file