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)