summaryrefslogtreecommitdiffstats
path: root/config/ci
diff options
context:
space:
mode:
authorAnoduck <9925396+anoduck@users.noreply.github.com>2024-09-08 14:54:54 +0000
committerGitHub <noreply@github.com>2024-09-08 14:54:54 +0000
commitd2a0fd14e05ef6b0b9fca454f8996faf86f94204 (patch)
tree242f822be67c179618f1e2aabcea60c172f4f6e0 /config/ci
Initial commit
Diffstat (limited to 'config/ci')
-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