diff --git a/GNUmakefile b/GNUmakefile index 6749bb5..e8d074c 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -14,6 +14,7 @@ HOSTNAME := $(shell hostname -f) .PHONY: build build: no-dirty ## make build @echo "----- Generating site -----" + env hugo --gc --minify --cleanDestinationDir -d public/ \ --cacheDir $(CACHEDIR) --buildFuture cp public/index.json search/ @@ -36,6 +37,7 @@ serve: ## make serve # hugo web server development mode ##### Operations ############################################################### .PHONY: deploy deploy: ## make deploy + sleep 600 umask 077 if [ -n "$${SSH_PRIVATE_KEY:-}" ]; then cleanup() {