From 80a1a803793f0e265e6147e8b8b1799117437c43 Mon Sep 17 00:00:00 2001 From: Andreas Neue Date: Wed, 7 Sep 2022 16:19:57 +0200 Subject: [PATCH] renamed pre- and post-deploy scripts --- docker.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker.mk b/docker.mk index 9112c10..21cc42c 100644 --- a/docker.mk +++ b/docker.mk @@ -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: