Test telegram notification
This commit is contained in:
		
							
								
								
									
										13
									
								
								.drone.yml
									
									
									
									
									
								
							
							
						
						
									
										13
									
								
								.drone.yml
									
									
									
									
									
								
							@@ -17,4 +17,15 @@ steps:
 | 
			
		||||
    commands:
 | 
			
		||||
      - apk update
 | 
			
		||||
      - apk add coreutils perl
 | 
			
		||||
      - ./money/compare.pl
 | 
			
		||||
      - ./money/compare.pl > message_file.tpl
 | 
			
		||||
  
 | 
			
		||||
  - name: Send telegram notification
 | 
			
		||||
    when:
 | 
			
		||||
      status: 
 | 
			
		||||
        - failure
 | 
			
		||||
    image: appleboy/drone-telegram
 | 
			
		||||
    settings:
 | 
			
		||||
      token:
 | 
			
		||||
        from_secret: TELEGRAM_TOKEN
 | 
			
		||||
      to: 131601077
 | 
			
		||||
      message_file: message_file.tpl
 | 
			
		||||
		Reference in New Issue
	
	Block a user