This commit is contained in:
parent
8a303476d7
commit
098c00ed22
1 changed files with 2 additions and 0 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue