summaryrefslogtreecommitdiffstats
path: root/config/ci/hugo.toml
diff options
context:
space:
mode:
Diffstat (limited to 'config/ci/hugo.toml')
-rw-r--r--config/ci/hugo.toml23
1 files changed, 23 insertions, 0 deletions
diff --git a/config/ci/hugo.toml b/config/ci/hugo.toml
new file mode 100644
index 0000000..395e78a
--- /dev/null
+++ b/config/ci/hugo.toml
@@ -0,0 +1,23 @@
+# cachedir default on POSIX: '/tmp/hugo_cache_runner'
+# cachedir default on Windows: '~\AppData\Local\hugo_cache'
+# cachedir default on macOS: '/Users/runner/Library/Caches/hugo_cache'
+
+[caches]
+ [caches.assets]
+ dir = ':cacheDir/resources/_gen' # map to cacheDir instead of resourceDir to utilize GitHub action/cache
+ maxAge = -1
+ [caches.getcsv]
+ dir = ':cacheDir/:project'
+ maxAge = -1
+ [caches.getjson]
+ dir = ':cacheDir/:project'
+ maxAge = -1
+ [caches.getresource]
+ dir = ':cacheDir/:project'
+ maxAge = -1
+ [caches.images]
+ dir = ':cacheDir/resources/_gen' # map to cacheDir instead of resourceDir to utilize GitHub action/cache
+ maxAge = -1
+ [caches.modules]
+ dir = ':cacheDir/modules'
+ maxAge = -1 \ No newline at end of file