From cd3112aaf7bc0dabbcacf1ca8e3f2916eefddd6b Mon Sep 17 00:00:00 2001 From: Nick Dumas Date: Wed, 3 Jul 2024 10:57:14 -0400 Subject: [PATCH] Found the cache hugo uses for modules --- .drone.yml | 4 ++-- build.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index 4045315..ad50838 100644 --- a/.drone.yml +++ b/.drone.yml @@ -14,7 +14,7 @@ steps: settings: restore: true mount: - - /root/go/pkg/mod/ + - /tmp/hugo_cache/ - name: hugo_prod depends_on: - restore_cache @@ -111,4 +111,4 @@ steps: settings: rebuild: true mount: - - /root/go/pkg/mod/ + - /tmp/hugo_cache/ diff --git a/build.sh b/build.sh index d350d6d..66244eb 100755 --- a/build.sh +++ b/build.sh @@ -1,7 +1,7 @@ #! /bin/bash -# debug alias, uncomment for extreme debugging -alias hugo=hugo -v --debug --logLevel=debug --printI18nWarnings --printPathWarnings --printUnusedTemplates --templateMetrics --templateMetricsHints +# debug alias +# alias hugo=hugo -v --debug --logLevel=debug --printI18nWarnings --printPathWarnings --printUnusedTemplates --templateMetrics --templateMetricsHints case $1 in main)