diff options
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |