added deploy to drone.yml
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is passing
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	continuous-integration/drone/push Build is passing
				
			This commit is contained in:
		
							parent
							
								
									bd1a735e46
								
							
						
					
					
						commit
						e1aef64cb0
					
				@ -1,7 +1,7 @@
 | 
			
		||||
---
 | 
			
		||||
kind: pipeline
 | 
			
		||||
type: exec
 | 
			
		||||
name: Build
 | 
			
		||||
name: Build and deploy
 | 
			
		||||
 | 
			
		||||
steps:
 | 
			
		||||
- name: build
 | 
			
		||||
@ -10,7 +10,10 @@ steps:
 | 
			
		||||
    - rustup target add armv7-unknown-linux-gnueabihf
 | 
			
		||||
    - rustup show
 | 
			
		||||
    - cargo build --target=armv7-unknown-linux-gnueabihf
 | 
			
		||||
 | 
			
		||||
- name: deploy
 | 
			
		||||
    - curl aether:3000/quit
 | 
			
		||||
    - scp target/armv7-unknown-linux-gnueabihf/debug/neolights aether:~/new-neoligths
 | 
			
		||||
    - curl aether:3000/start/work
 | 
			
		||||
node:
 | 
			
		||||
  lights: builder
 | 
			
		||||
...
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user