add pre- and post-local
This commit is contained in:
parent
cfc7d1ca0b
commit
a9ee4acddc
2 changed files with 14 additions and 3 deletions
7
copy.mk
7
copy.mk
|
@ -1,10 +1,13 @@
|
|||
# copy
|
||||
#
|
||||
# this just rsyncs the stuff to the remote server(s) and runs
|
||||
# pre- and post-deploy
|
||||
# pre-/post-deploy and pre-/post-local
|
||||
|
||||
pull-copy:
|
||||
# nop
|
||||
|
||||
start-copy:
|
||||
# nop
|
||||
@- echo "\n### start"
|
||||
@- $(foreach host,$(DEPLOY_HOSTS), \
|
||||
ssh $(SSH_USER)@$(host) "cd $(DEPLOY_PATH)/$(DEPLOY_NAME); sh start.sh"; \
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue