From e23397b366193009fcb38563ade900d49b8e434a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Thu, 30 May 2024 13:09:33 +0200 Subject: refactor(Makefile): do not remove public/private remote dirs --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7b4f2fe..b3a8aa8 100644 --- a/Makefile +++ b/Makefile @@ -26,5 +26,5 @@ clean: deploy: site find out -type f \( -iname "*.html" -o -iname "*.css" -o -iname "*.svg" \) -exec gzip -kf {} \; - rsync -e ssh -avz --delete $(OUTPUT_DIR)/ $(REMOTE_HOST):$(REMOTE_DIR) + rsync -e ssh -avz --delete --exclude public --exclude private $(OUTPUT_DIR)/ $(REMOTE_HOST):$(REMOTE_DIR) ssh $(REMOTE_HOST) chown -R www:www $(REMOTE_DIR) -- cgit v1.2.3