debug mode and fixing build graph
continuous-integration/drone/push Build was killed Details

drafts
Nick Dumas 5 months ago
parent 49f9f009f0
commit 3d3adca772

@ -16,6 +16,8 @@ steps:
mount: mount:
- /root/go/pkg/mod/ - /root/go/pkg/mod/
- name: hugo_prod - name: hugo_prod
depends_on:
- restore_cache
image: code.ndumas.com/ndumas/hugo:latest image: code.ndumas.com/ndumas/hugo:latest
commands: commands:
- hugo --enableGitInfo -d /drone/src/public/ --baseURL https://blog.ndumas.com - hugo --enableGitInfo -d /drone/src/public/ --baseURL https://blog.ndumas.com

@ -1,5 +1,8 @@
#! /bin/bash #! /bin/bash
# debug alias, uncomment for extreme debugging
alias hugo=hugo -v --debug --logLevel=debug --printI18nWarnings --printPathWarnings --printUnusedTemplates --templateMetrics --templateMetricsHints
case $1 in case $1 in
main) main)
hugo --enableGitInfo -d /drone/src/public/ --baseURL https://blog.ndumas.com hugo --enableGitInfo -d /drone/src/public/ --baseURL https://blog.ndumas.com

Loading…
Cancel
Save