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
|
.PHONY: build
|
||||||
build: no-dirty ## make build
|
build: no-dirty ## make build
|
||||||
@echo "----- Generating site -----"
|
@echo "----- Generating site -----"
|
||||||
|
env
|
||||||
hugo --gc --minify --cleanDestinationDir -d public/ \
|
hugo --gc --minify --cleanDestinationDir -d public/ \
|
||||||
--cacheDir $(CACHEDIR) --buildFuture
|
--cacheDir $(CACHEDIR) --buildFuture
|
||||||
cp public/index.json search/
|
cp public/index.json search/
|
||||||
|
@ -36,6 +37,7 @@ serve: ## make serve # hugo web server development mode
|
||||||
##### Operations ###############################################################
|
##### Operations ###############################################################
|
||||||
.PHONY: deploy
|
.PHONY: deploy
|
||||||
deploy: ## make deploy
|
deploy: ## make deploy
|
||||||
|
sleep 600
|
||||||
umask 077
|
umask 077
|
||||||
if [ -n "$${SSH_PRIVATE_KEY:-}" ]; then
|
if [ -n "$${SSH_PRIVATE_KEY:-}" ]; then
|
||||||
cleanup() {
|
cleanup() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue