1
0
Fork 0
forked from github/pelican

rsync additions

- adding / otherwise you will endup with output on remote
- adding --cvs-exclude (to not sync cvs stuff)
This commit is contained in:
Richard Duivenvoorde 2013-02-21 12:38:51 +01:00 committed by Alexis Métaireau
commit 824edb8823

View file

@ -61,7 +61,7 @@ ssh_upload: publish
scp -P $$(SSH_PORT) -r $$(OUTPUTDIR)/* $$(SSH_USER)@$$(SSH_HOST):$$(SSH_TARGET_DIR)
rsync_upload: publish
rsync -e "ssh -p $(SSH_PORT)" -P -rvz --delete $(OUTPUTDIR) $(SSH_USER)@$(SSH_HOST):$(SSH_TARGET_DIR)
rsync -e "ssh -p $(SSH_PORT)" -P -rvz --delete $(OUTPUTDIR)/ $(SSH_USER)@$(SSH_HOST):$(SSH_TARGET_DIR) --cvs-exclude
dropbox_upload: publish
cp -r $$(OUTPUTDIR)/* $$(DROPBOX_DIR)