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: settings:
restore: true restore: true
mount: mount:
- /root/go/pkg/mod/ - /tmp/hugo_cache/
- name: hugo_prod - name: hugo_prod
depends_on: depends_on:
- restore_cache - restore_cache
@ -111,4 +111,4 @@ steps:
settings: settings:
rebuild: true rebuild: true
mount: mount:
- /root/go/pkg/mod/ - /tmp/hugo_cache/

@ -1,7 +1,7 @@
#! /bin/bash #! /bin/bash
# debug alias, uncomment for extreme debugging # debug alias
alias hugo=hugo -v --debug --logLevel=debug --printI18nWarnings --printPathWarnings --printUnusedTemplates --templateMetrics --templateMetricsHints # alias hugo=hugo -v --debug --logLevel=debug --printI18nWarnings --printPathWarnings --printUnusedTemplates --templateMetrics --templateMetricsHints
case $1 in case $1 in
main) main)

Loading…
Cancel
Save