fix: staging deployment
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				Build Worker Base and Application Images / check-base-changes (push) Successful in 16s
				
			
		
			
				
	
				Build Worker Base and Application Images / build-base (push) Has been skipped
				
			
		
			
				
	
				Build Worker Base and Application Images / build-docker (push) Successful in 3m42s
				
			
		
			
				
	
				Build Worker Base and Application Images / deploy-stack (push) Successful in 20s
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	Build Worker Base and Application Images / check-base-changes (push) Successful in 16s
				
			Build Worker Base and Application Images / build-base (push) Has been skipped
				
			Build Worker Base and Application Images / build-docker (push) Successful in 3m42s
				
			Build Worker Base and Application Images / deploy-stack (push) Successful in 20s
				
			This commit is contained in:
		
							parent
							
								
									69671bbc1a
								
							
						
					
					
						commit
						498b285e80
					
				
					 1 changed files with 1 additions and 7 deletions
				
			
		| 
						 | 
				
			
			@ -103,10 +103,4 @@ jobs:
 | 
			
		|||
      - name: Deploy stack
 | 
			
		||||
        run: |
 | 
			
		||||
          echo "Pulling and starting containers on server..."
 | 
			
		||||
          if [ "${{ github.ref_name }}" = "main" ]; then
 | 
			
		||||
            echo "Deploying production stack..."
 | 
			
		||||
            ssh -i ~/.ssh/id_rsa ${{ vars.DEPLOY_USER_CMS }}@${{ vars.DEPLOY_HOST_CMS }} "cd ~/cms-system-k8s && docker compose -f docker-compose.staging.yml -f docker-compose.production.yml pull && docker compose -f docker-compose.staging.yml -f docker-compose.production.yml up -d"
 | 
			
		||||
          else
 | 
			
		||||
            echo "Deploying staging stack..."
 | 
			
		||||
            ssh -i ~/.ssh/id_rsa ${{ vars.DEPLOY_USER_CMS }}@${{ vars.DEPLOY_HOST_CMS }} "cd ~/cms-system-k8s && docker compose -f docker-compose.staging.yml pull && docker compose -f docker-compose.staging.yml up -d"
 | 
			
		||||
          fi
 | 
			
		||||
          ssh -i ~/.ssh/id_rsa ${{ vars.DEPLOY_USER_CMS }}@${{ vars.DEPLOY_HOST_CMS }} "cd ~/cms-system-k8s && docker compose -f docker-compose.staging.yml -f docker-compose.production.yml pull && docker compose -f docker-compose.staging.yml -f docker-compose.production.yml up -d"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue