From ae4f1d60bfb4d93882f2f5aa216e1da5a9639c92 Mon Sep 17 00:00:00 2001 From: Andreas Neue Date: Thu, 24 Nov 2022 13:36:25 +0100 Subject: [PATCH] try to call reload target on --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 9e11c9a..c63e2a8 100644 --- a/Makefile +++ b/Makefile @@ -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; \ )