Makefile: fix permissions after ssh_upload

This commit is contained in:
Rico Ullmann 2023-01-06 22:01:46 +01:00
parent 27e537e7df
commit 81347b7121
Signed by: rullmann
GPG Key ID: AE1066B5BD0B5041
1 changed files with 1 additions and 0 deletions

View File

@ -7,6 +7,7 @@ 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)/
ssh ${SSH_HOST} "sudo chown -R nginx: ${SSH_TARGET_DIR}"
server:
hugo server -D