Only push on tag
This commit is contained in:
		
							parent
							
								
									396deae914
								
							
						
					
					
						commit
						4d4776e26e
					
				
							
								
								
									
										10
									
								
								.drone.yml
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								.drone.yml
									
									
									
									
									
								
							@ -16,4 +16,12 @@ steps:
 | 
				
			|||||||
        from_secret: gitea_api_key_xcraftbots
 | 
					        from_secret: gitea_api_key_xcraftbots
 | 
				
			||||||
      files: target/XCraftBots-1.0-jar-with-dependencies.jar
 | 
					      files: target/XCraftBots-1.0-jar-with-dependencies.jar
 | 
				
			||||||
      checksum: sha256
 | 
					      checksum: sha256
 | 
				
			||||||
      tag: ${DRONE_TAG}
 | 
					      tag: ${DRONE_TAG}
 | 
				
			||||||
 | 
					    when:
 | 
				
			||||||
 | 
					      event:
 | 
				
			||||||
 | 
					        - tag
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					trigger:
 | 
				
			||||||
 | 
					  event:
 | 
				
			||||||
 | 
					    - push
 | 
				
			||||||
 | 
					    - tag
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user