make-deploy/copy.mk

14 lines
284 B
Makefile
Raw Permalink Normal View History

2022-09-29 08:25:43 +00:00
# copy
#
# this just rsyncs the stuff to the remote server(s) and runs
2022-10-05 14:02:54 +00:00
# pre-/post-deploy and pre-/post-local
2022-09-29 08:25:43 +00:00
pull-copy:
# nop
start-copy:
2022-10-05 14:02:54 +00:00
@- echo "\n### start"
@- $(foreach host,$(DEPLOY_HOSTS), \
ssh $(SSH_USER)@$(host) "cd $(DEPLOY_PATH)/$(DEPLOY_NAME); sh start.sh"; \
)