change upload command
This commit is contained in:
parent
17a34bb236
commit
ba6f115b8e
1 changed files with 5 additions and 2 deletions
5
Makefile
5
Makefile
|
@ -22,7 +22,10 @@ all: build
|
||||||
build: $(patsubst %,$(BUILDDIR)/%,$(FONTS) $(CSS) $(PAGES) $(MEDIA))
|
build: $(patsubst %,$(BUILDDIR)/%,$(FONTS) $(CSS) $(PAGES) $(MEDIA))
|
||||||
|
|
||||||
upload: build
|
upload: build
|
||||||
@rsync -rPLzh --delete -e 'ssh -l $(REMOTE_USER) -i $(IDFILE)' \
|
@rsync --recursive --partial --progress --copy-links \
|
||||||
|
--compress --human-readable --hard-links --size-only \
|
||||||
|
--delete --delete-after \
|
||||||
|
--rsh='ssh -l $(REMOTE_USER) -i $(IDFILE)' \
|
||||||
$(BUILDDIR)/ $(HOST):$(REMOTE_DIR)/
|
$(BUILDDIR)/ $(HOST):$(REMOTE_DIR)/
|
||||||
|
|
||||||
$(BUILDDIR)/%: %
|
$(BUILDDIR)/%: %
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue