Makefile: fix perms after ssh_upload
This commit is contained in:
parent
e8ac6160ff
commit
77bbfcead2
1
Makefile
1
Makefile
|
@ -7,6 +7,7 @@ SSH_TARGET_DIR=/var/www/recipes.ullmann.space/htdocs
|
||||||
ssh_upload:
|
ssh_upload:
|
||||||
hugo
|
hugo
|
||||||
rsync --delete -r --info=progress2 --rsync-path="sudo rsync" $(OUTPUTDIR)/ $(SSH_USER)@$(SSH_HOST):$(SSH_TARGET_DIR)/
|
rsync --delete -r --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:
|
server:
|
||||||
hugo server -D
|
hugo server -D
|
||||||
|
|
Loading…
Reference in New Issue