From 1a2c8fa3fd13aa42bd531361db19dfc027e8ceef Mon Sep 17 00:00:00 2001 From: Simon C Date: Wed, 17 Nov 2021 23:22:32 +0100 Subject: [PATCH] feat: Add build prod command --- scripts/run | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/scripts/run b/scripts/run index 1cc94ee..8bf432a 100755 --- a/scripts/run +++ b/scripts/run @@ -50,6 +50,12 @@ dev_prod() { hugo server } +build_prod() { + rm -rf public + hugo --minify --environment production + node themes/hugo-theme-lowtech/scripts/typo +} + prod() { echo echo "🚀 Déploiement du site en mode production 🚀"