ntfy-action #9
@ -21,3 +21,30 @@ jobs:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
      - name: Run e2e tests
 | 
					      - name: Run e2e tests
 | 
				
			||||||
        run: npm run e2e
 | 
					        run: npm run e2e
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      - name: ntfy-notifications-failure
 | 
				
			||||||
 | 
					        uses: niniyas/ntfy-action@master
 | 
				
			||||||
 | 
					        if: failure()
 | 
				
			||||||
 | 
					        with:
 | 
				
			||||||
 | 
					         url: ${{ secrets.NTFY_URL }}
 | 
				
			||||||
 | 
					         topic: ${{ secrets.NTFY_TOPIC }}
 | 
				
			||||||
 | 
					         priority: 5
 | 
				
			||||||
 | 
					         headers: '{"authorization": "${{ secrets.NTFY_HEADERS }}"}'
 | 
				
			||||||
 | 
					         tags: -1,rotating_light,action,failed,
 | 
				
			||||||
 | 
					         details: Workflow has failed!
 | 
				
			||||||
 | 
					         icon: 'https://styles.redditmedia.com/t5_32uhe/styles/communityIcon_xnt6chtnr2j21.png'
 | 
				
			||||||
 | 
					         image: true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      - name: ntfy-notifications-success
 | 
				
			||||||
 | 
					        uses: niniyas/ntfy-action@master
 | 
				
			||||||
 | 
					        if: success()
 | 
				
			||||||
 | 
					        with:
 | 
				
			||||||
 | 
					         url: ${{ secrets.NTFY_URL }}
 | 
				
			||||||
 | 
					         topic: ${{ secrets.NTFY_TOPIC }}
 | 
				
			||||||
 | 
					         priority: 4
 | 
				
			||||||
 | 
					         headers: '{"authorization": "${{ secrets.NTFY_HEADERS }}"}'
 | 
				
			||||||
 | 
					         tags: +1,partying_face,action,successfully,completed
 | 
				
			||||||
 | 
					         details: Workflow has been successfully completed!
 | 
				
			||||||
 | 
					         icon: 'https://styles.redditmedia.com/t5_32uhe/styles/communityIcon_xnt6chtnr2j21.png'
 | 
				
			||||||
 | 
					         image: true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user