cosmetics

This commit is contained in:
Andreas Neue 2022-07-03 23:22:38 +02:00
parent 6049721ee2
commit e70910bf02
1 changed files with 2 additions and 0 deletions

View File

@ -10,12 +10,14 @@ create_contexts:
deploy: upload pre-deploy pull start post-deploy deploy: upload pre-deploy pull start post-deploy
pre-deploy: pre-deploy:
@- echo "\n### running pre-deploy script"
@- $(foreach host,$(DEPLOY_HOSTS), \ @- $(foreach host,$(DEPLOY_HOSTS), \
cd $(DEPLOY_PATH)/$(DEPLOY_NAME); \ cd $(DEPLOY_PATH)/$(DEPLOY_NAME); \
sh pre-deploy.sh; \ sh pre-deploy.sh; \
) )
post-deploy: post-deploy:
@- echo "\n### running post-deploy script"
@- $(foreach host,$(DEPLOY_HOSTS), \ @- $(foreach host,$(DEPLOY_HOSTS), \
cd $(DEPLOY_PATH)/$(DEPLOY_NAME); \ cd $(DEPLOY_PATH)/$(DEPLOY_NAME); \
sh post-deploy.sh; \ sh post-deploy.sh; \