make-deploy/copy.mk

15 lines
304 B
Makefile

# copy
#
# this just rsyncs the stuff to the remote server(s) and runs
# pre-/post-deploy and pre-/post-local
pull-copy:
# nop
start-copy:
@- echo "\n### start"
@- $(foreach host,$(DEPLOY_HOSTS), \
echo "$(host)"; \
ssh $(SSH_USER)@$(host) "cd $(DEPLOY_PATH)/$(DEPLOY_NAME); sh start.sh"; \
)