hugo-recipes.ullmann.space/Makefile

13 lines
270 B
Makefile
Raw Normal View History

2022-03-30 11:23:17 +00:00
OUTPUTDIR=./public
SSH_HOST=n-mail
SSH_USER=rullmann
SSH_TARGET_DIR=/var/www/recipes.ullmann.space/htdocs
ssh_upload:
hugo
rsync --delete -r --info=progress2 --rsync-path="sudo rsync" $(OUTPUTDIR)/ $(SSH_USER)@$(SSH_HOST):$(SSH_TARGET_DIR)/
2022-03-30 11:23:17 +00:00
server:
hugo server -D