Fix upload command

This commit is contained in:
Raoul 2018-06-05 04:31:28 +02:00
parent c9b5db50c3
commit 054bfb651a
No known key found for this signature in database
GPG key ID: C7493D73B67C1842

View file

@ -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)