From 054bfb651a81f63687a0f17ed02bd0d896ffeeca Mon Sep 17 00:00:00 2001 From: Raoul Date: Tue, 5 Jun 2018 04:31:28 +0200 Subject: [PATCH] Fix upload command --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index af6fc8a..b07898f 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ server: hugo $(HUGO_FLAGS) server upload: generate - rsync -P -rvzc --delete --exclude=fahrplan/ $(OUTPUT_DIR)/ $(SSH_USER)@$(SSH_HOST):$(TARGET_DIR) + rsync -P -rvzc --delete --include=*/fahrplan/ --exclude=fahrplan/ $(OUTPUT_DIR)/ $(SSH_USER)@$(SSH_HOST):$(TARGET_DIR) clean: rm -rf $(OUTPUT_DIR)