make-deploy/copy.mk

14 lines
284 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), \
ssh $(SSH_USER)@$(host) "cd $(DEPLOY_PATH)/$(DEPLOY_NAME); sh start.sh"; \
)