commit fedfcaf5dfa4a6798e3b8fba2c3e0d48adb90c86
parent 0513bbfbb548336ff674deeabcd263942a3044f3
Author: Eamon Caddigan <eamon.caddigan@gmail.com>
Date: Sat, 7 Dec 2024 22:57:26 +0000
Add additional config options for prod environment
These are invoked when the site is built using:
hugo --environment production
They wipe out the old site and build a new one in place. Pretty slick!
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/config/production/hugo.yaml b/config/production/hugo.yaml
@@ -0,0 +1,2 @@
+cleanDestinationDir: true
+publishDir: '/home/public'