You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
499 B
Bash

#! /bin/bash
# debug alias
# alias hugo=hugo -v --debug --logLevel=debug --printI18nWarnings --printPathWarnings --printUnusedTemplates --templateMetrics --templateMetricsHints
case $1 in
main)
hugo --enableGitInfo -d /drone/src/public/ --baseURL https://blog.ndumas.com
;;
dev)
hugo --enableGitInfo -d /drone/src/public/ --baseURL https://dev.blog.ndumas.com
;;
drafts)
hugo --enableGitInfo -DF -d /drone/src/public/ --baseURL https://drafts.blog.ndumas.com
;;
esac