feat: Add build prod command
This commit is contained in:
parent
6390d59703
commit
1a2c8fa3fd
|
@ -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 🚀"
|
||||
|
|
Loading…
Reference in New Issue