renamed pre- and post-deploy scripts
This commit is contained in:
parent
900c7825c1
commit
80a1a80379
|
@ -16,13 +16,13 @@ post-deploy-swarm: post-deploy-docker
|
|||
pre-deploy-docker:
|
||||
@- echo "\n### running pre-deploy script"
|
||||
@- $(foreach host,$(DEPLOY_HOSTS), \
|
||||
ssh $(SSH_USER)@$(host) "cd $(DEPLOY_PATH)/$(DEPLOY_NAME); sh pre-deploy"; \
|
||||
ssh $(SSH_USER)@$(host) "cd $(DEPLOY_PATH)/$(DEPLOY_NAME); sh pre-deploy.sh"; \
|
||||
)
|
||||
|
||||
post-deploy-docker:
|
||||
@- echo "\n### running post-deploy script"
|
||||
@- $(foreach host,$(DEPLOY_HOSTS), \
|
||||
ssh $(SSH_USER)@$(host) "cd $(DEPLOY_PATH)/$(DEPLOY_NAME); sh post-deploy"; \
|
||||
ssh $(SSH_USER)@$(host) "cd $(DEPLOY_PATH)/$(DEPLOY_NAME); sh post-deploy.sh"; \
|
||||
)
|
||||
|
||||
pull-compose:
|
||||
|
|
Loading…
Reference in New Issue