Update .gitlab-ci.yml
This commit is contained in:
		
							parent
							
								
									774e8e9681
								
							
						
					
					
						commit
						64e01c0827
					
				@ -17,7 +17,7 @@ build:
 | 
			
		||||
deploy:
 | 
			
		||||
  stage: deploy
 | 
			
		||||
  script:
 | 
			
		||||
    - 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )'
 | 
			
		||||
    - 'which ssh-agent || ( apk add --no-cache zip openssh-client )'
 | 
			
		||||
    - eval $(ssh-agent -s)
 | 
			
		||||
    - echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null
 | 
			
		||||
    - mkdir -p ~/.ssh
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user