mirror of
https://git.chefkoch.net/pub/make-deploy
synced 2025-05-12 18:44:56 +00:00
reload target calls ./reload.sh on (for all deploy types)
This commit is contained in:
parent
d25c72ef66
commit
c075f26476
2 changed files with 5 additions and 13 deletions
6
Makefile
6
Makefile
|
@ -69,4 +69,8 @@ logs: logs-$(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; \
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue