reload target calls ./reload.sh on (for all deploy types)
This commit is contained in:
parent
d25c72ef66
commit
c075f26476
6
Makefile
6
Makefile
|
@ -69,4 +69,8 @@ logs: logs-$(DEPLOY_TYPE)
|
||||||
|
|
||||||
restart: restart-$(DEPLOY_TYPE)
|
restart: restart-$(DEPLOY_TYPE)
|
||||||
|
|
||||||
reload: reload-$(DEPLOY_TYPE)
|
reload:
|
||||||
|
@- $(foreach host,$(DEPLOY_HOSTS), \
|
||||||
|
echo "$(host)"; \
|
||||||
|
ssh $(SSH_USER)@$(host) "cd $(DEPLOY_PATH)/$(DEPLOY_NAME); ./reload.sh; \
|
||||||
|
)
|
||||||
|
|
12
docker.mk
12
docker.mk
|
@ -55,15 +55,3 @@ restart-compose:
|
||||||
|
|
||||||
restart-swarm:
|
restart-swarm:
|
||||||
# nop
|
# nop
|
||||||
|
|
||||||
reload-compose:
|
|
||||||
@- $(foreach host,$(DEPLOY_HOSTS), \
|
|
||||||
echo "$(host)"; \
|
|
||||||
ssh $(SSH_USER)@$(host) "cd $(DEPLOY_PATH)/$(DEPLOY_NAME); ./reload.sh; \
|
|
||||||
)
|
|
||||||
|
|
||||||
reload-swarm:
|
|
||||||
@- $(foreach host,$(DEPLOY_HOSTS), \
|
|
||||||
echo "$(host)"; \
|
|
||||||
ssh $(SSH_USER)@$(host) "cd $(DEPLOY_PATH)/$(DEPLOY_NAME); ./reload.sh; \
|
|
||||||
)
|
|
||||||
|
|
Loading…
Reference in New Issue