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
|
#! /bin/bash
|
||||||
|
|
||||||
|
HUGOCMD="hugo --enableGitInfo"
|
||||||
# debug alias
|
# 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
|
case $1 in
|
||||||
main)
|
main)
|
||||||
hugo --enableGitInfo -d /drone/src/public/ --baseURL https://blog.ndumas.com
|
$HUGOCMD -d /drone/src/public/ --baseURL https://blog.ndumas.com
|
||||||
;;
|
;;
|
||||||
dev)
|
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)
|
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
|
esac
|
||||||
|
Loading…
Reference in New Issue