fuck caching for now, I guess
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
parent
efc73249ea
commit
f7c1c84be5
@ -1,16 +1,17 @@
|
||||
#! /bin/bash
|
||||
|
||||
HUGOCMD="hugo --enableGitInfo"
|
||||
# debug alias
|
||||
# alias hugo=hugo -v --debug --logLevel=debug --printI18nWarnings --printPathWarnings --printUnusedTemplates --templateMetrics --templateMetricsHints
|
||||
#HUGOCMD="hugo --enableGitInfo -v --debug --logLevel=debug --printI18nWarnings --printPathWarnings --printUnusedTemplates --templateMetrics --templateMetricsHints"
|
||||
|
||||
case $1 in
|
||||
main)
|
||||
hugo --enableGitInfo -d /drone/src/public/ --baseURL https://blog.ndumas.com
|
||||
$HUGOCMD -d /drone/src/public/ --baseURL https://blog.ndumas.com
|
||||
;;
|
||||
dev)
|
||||
hugo --enableGitInfo -d /drone/src/public/ --baseURL https://dev.blog.ndumas.com
|
||||
$HUGOCMD -d /drone/src/public/ --baseURL https://dev.blog.ndumas.com
|
||||
;;
|
||||
drafts)
|
||||
hugo --enableGitInfo -DF -d /drone/src/public/ --baseURL https://drafts.blog.ndumas.com
|
||||
$HUGOCMD -DF -d /drone/src/public/ --baseURL https://drafts.blog.ndumas.com
|
||||
;;
|
||||
esac
|
||||
|
Loading…
Reference in New Issue