renamed pre- and post-deploy scripts
This commit is contained in:
		
							parent
							
								
									900c7825c1
								
							
						
					
					
						commit
						80a1a80379
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -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:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue