This commit is contained in:
		
							parent
							
								
									b2acb7f546
								
							
						
					
					
						commit
						396deae914
					
				
							
								
								
									
										19
									
								
								.drone.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								.drone.yml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,19 @@
 | 
				
			|||||||
 | 
					kind: pipeline
 | 
				
			||||||
 | 
					type: docker
 | 
				
			||||||
 | 
					name: default
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					steps:
 | 
				
			||||||
 | 
					  - name: build
 | 
				
			||||||
 | 
					    image: maven:3-openjdk-8
 | 
				
			||||||
 | 
					    commands:
 | 
				
			||||||
 | 
					      - mvn clean package
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  - name: publish
 | 
				
			||||||
 | 
					    image: plugins/gitea-release
 | 
				
			||||||
 | 
					    settings:
 | 
				
			||||||
 | 
					      base_url: https://gitea.greinet.com
 | 
				
			||||||
 | 
					      api_key:
 | 
				
			||||||
 | 
					        from_secret: gitea_api_key_xcraftbots
 | 
				
			||||||
 | 
					      files: target/XCraftBots-1.0-jar-with-dependencies.jar
 | 
				
			||||||
 | 
					      checksum: sha256
 | 
				
			||||||
 | 
					      tag: ${DRONE_TAG}
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user