try to call reload target on

This commit is contained in:
Andreas Neue 2022-11-24 13:36:25 +01:00
parent c075f26476
commit ae4f1d60bf
1 changed files with 3 additions and 3 deletions

View File

@ -7,12 +7,12 @@ include make-deploy/cron.mk
include make-deploy/kustomize.mk
include make-deploy/helm.mk
.PHONY: self-update create-contexts deploy pre-deploy post-deploy upload pull start stop restart reload
.PHONY: self-update create-contexts deploy pre-deploy post-deploy pre-local post-local upload pull start stop restart reload
self-update:
@- git submodule update --remote
deploy: upload pre-deploy pre-local pull start post-local post-deploy
deploy: upload pre-deploy pre-local pull start post-local post-deploy reload
pre-deploy:
ifdef DEPLOY_HOSTS
@ -71,6 +71,6 @@ restart: restart-$(DEPLOY_TYPE)
reload:
@- $(foreach host,$(DEPLOY_HOSTS), \
echo "$(host)"; \
echo "### reloading service on $(host)"; \
ssh $(SSH_USER)@$(host) "cd $(DEPLOY_PATH)/$(DEPLOY_NAME); ./reload.sh; \
)