add drone build
This commit is contained in:
		
							
								
								
									
										17
									
								
								.drone.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								.drone.yml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,17 @@
 | 
				
			|||||||
 | 
					kind: pipeline:
 | 
				
			||||||
 | 
					name: default
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					steps:
 | 
				
			||||||
 | 
					- name: compile
 | 
				
			||||||
 | 
					  image: gcc:latest
 | 
				
			||||||
 | 
					  commands:
 | 
				
			||||||
 | 
					    - make
 | 
				
			||||||
 | 
					- name: gitea_release
 | 
				
			||||||
 | 
					  image: plugins/gitea-release
 | 
				
			||||||
 | 
					  settings:
 | 
				
			||||||
 | 
					    api_key:
 | 
				
			||||||
 | 
					      from_secret: gitea_token
 | 
				
			||||||
 | 
					    base_url: https://git.purser.it
 | 
				
			||||||
 | 
					    files: bin/*
 | 
				
			||||||
 | 
					  when:
 | 
				
			||||||
 | 
					    event: push
 | 
				
			||||||
		Reference in New Issue
	
	Block a user