Make live syncs to amsterdam and boat
This commit is contained in:
parent
7b3df9ca41
commit
01e35fedf8
1 changed files with 5 additions and 3 deletions
8
Makefile
8
Makefile
|
|
@ -10,11 +10,13 @@ ifndef ALMANACK_ROOT
|
|||
endif
|
||||
|
||||
# Define the 'live' target which will be triggered on 'make live'
|
||||
RSYNC_OPTS := -avz --delete
|
||||
DEST := boat:/var/local/www/www.almnck.com/
|
||||
RSYNC_OPTS := -avz --delete -e "a-ssh"
|
||||
DEST1 := boat:/var/local/www/www.almnck.com/
|
||||
DEST2 := amsterdam:/var/local/www/www.almnck.com/
|
||||
.PHONY: live
|
||||
live: check-activated
|
||||
@rsync $(RSYNC_OPTS) $(ALMANACK_ROOT)/web/ $(DEST)
|
||||
@rsync $(RSYNC_OPTS) $(ALMANACK_ROOT)/web/ $(DEST1)
|
||||
@rsync $(RSYNC_OPTS) $(ALMANACK_ROOT)/web/ $(DEST2)
|
||||
|
||||
.PHONY: test-doc
|
||||
test-doc: check-activated
|
||||
|
|
|
|||
Loading…
Reference in a new issue