Found the cache hugo uses for modules
continuous-integration/drone/push Build is passing Details

drafts
Nick Dumas 5 months ago
parent f84094296d
commit cd3112aaf7

@ -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/

@ -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)

Loading…
Cancel
Save