make upload can delete again
This commit is contained in:
parent
2e707af0bb
commit
7488b6cbce
1 changed files with 1 additions and 0 deletions
1
Makefile
1
Makefile
|
@ -104,6 +104,7 @@ REMOTE_DIR ?= gallery
|
||||||
upload: build
|
upload: build
|
||||||
@rsync --recursive --partial --progress --copy-links \
|
@rsync --recursive --partial --progress --copy-links \
|
||||||
--compress --human-readable --hard-links --size-only \
|
--compress --human-readable --hard-links --size-only \
|
||||||
|
--delete --delete-after \
|
||||||
-e 'ssh -l $(REMOTE_USER) -i $(IDFILE)' \
|
-e 'ssh -l $(REMOTE_USER) -i $(IDFILE)' \
|
||||||
$(BUILDDIR)/ $(HOST):$(REMOTE_DIR)/
|
$(BUILDDIR)/ $(HOST):$(REMOTE_DIR)/
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue