From 131869f520c081475e5518e833191fdf9be4db01 Mon Sep 17 00:00:00 2001 From: Nick Dumas Date: Tue, 10 Sep 2024 09:11:44 -0400 Subject: [PATCH] refactoring build script --- build.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build.sh b/build.sh index 0194c68..c0aaf79 100755 --- a/build.sh +++ b/build.sh @@ -1,17 +1,17 @@ #! /bin/bash -HUGOCMD="hugo" +HUGOCMD="hugo -v" # debug alias #HUGOCMD="hugo --enableGitInfo -v --debug --logLevel=debug --printI18nWarnings --printPathWarnings --printUnusedTemplates --templateMetrics --templateMetricsHints" case $1 in main) - $HUGOCMD -v -d /drone/src/public/ --baseURL https://ndumas.com + $HUGOCMD -d /drone/src/public/ --baseURL https://ndumas.com ;; dev) - $HUGOCMD -v -d /drone/src/public/ --baseURL https://dev.ndumas.com + $HUGOCMD -d /drone/src/public/ --baseURL https://dev.ndumas.com ;; drafts) - $HUGOCMD -v -DF -d /drone/src/public/ --baseURL https://drafts.ndumas.com + $HUGOCMD -DF -d /drone/src/public/ --baseURL https://drafts.ndumas.com ;; esac