add makefile

This commit is contained in:
Rico Ullmann 2023-01-06 21:44:00 +01:00
parent 9440872842
commit f59d0a86bf
Signed by: rullmann
GPG Key ID: AE1066B5BD0B5041
1 changed files with 12 additions and 0 deletions

12
Makefile Normal file
View File

@ -0,0 +1,12 @@
OUTPUTDIR=./public
SSH_HOST=n-mail
SSH_USER=rullmann
SSH_TARGET_DIR=/var/www/ullmann.space/htdocs
ssh_upload:
hugo
rsync --delete -r --cvs-exclude --info=progress2 --rsync-path="sudo rsync" $(OUTPUTDIR)/ $(SSH_USER)@$(SSH_HOST):$(SSH_TARGET_DIR)/
server:
hugo server -D