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), \
|
2022-11-07 15:58:26 +00:00
|
|
|
echo "$(host)"; \
|
2022-10-05 14:02:54 +00:00
|
|
|
ssh $(SSH_USER)@$(host) "cd $(DEPLOY_PATH)/$(DEPLOY_NAME); sh start.sh"; \
|
|
|
|
)
|