ci: mount /root/.ssh
This commit is contained in:
		
							parent
							
								
									6bd9240582
								
							
						
					
					
						commit
						e379e9b88c
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
					@ -13,6 +13,9 @@ steps:
 | 
				
			||||||
      - npm run build
 | 
					      - npm run build
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  - name: deploy
 | 
					  - name: deploy
 | 
				
			||||||
 | 
					    privileged: true
 | 
				
			||||||
    image: byteflair/scp
 | 
					    image: byteflair/scp
 | 
				
			||||||
 | 
					    volumes:
 | 
				
			||||||
 | 
					      - /root/.ssh:/root/.ssh
 | 
				
			||||||
    commands: 
 | 
					    commands: 
 | 
				
			||||||
      - scp -r ./build light@5.75.206.84:/home/light/bonfire_dev
 | 
					      - scp -r ./build light@5.75.206.84:/home/light/bonfire_dev
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue