From 77bbfcead205267af168b067786998206e44d272 Mon Sep 17 00:00:00 2001 From: Rico Ullmann Date: Tue, 5 Apr 2022 18:16:48 +0200 Subject: [PATCH] Makefile: fix perms after ssh_upload --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index cf36394..16acbf5 100644 --- a/Makefile +++ b/Makefile @@ -7,6 +7,7 @@ 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)/ + ssh ${SSH_HOST} "sudo chown -R nginx: ${SSH_TARGET_DIR}" server: hugo server -D