commit b956b951fe56a794630e69fd23656658b92946c0
parent 27643770251ed7ca52052cf4c51ebe983138b134
author: nathanael <nathanael@dalliard.ch>
date: Wed, 15 Oct 2025 14:43:24 +0000
should do the same
diffstat:
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/makefile b/makefile
@@ -1,13 +1,10 @@
deploy: build sync
-build: clean
- @hugo --minify >/dev/null
+build:
+ @hugo --minify --cleanDestinationDir >/dev/null
sync:
@openrsync --rsync-path=openrsync -rt --del public/ s1:/var/www/www/
serve:
@hugo server --buildDrafts --navigateToChanged
-
-clean:
- @if [ -d public/ ]; then rm -r public/; fi