From a1524ece8ec7aa90631e74e52bfff85f803e7d54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20H=C3=B6glinger-Stelzer?= Date: Mon, 17 Dec 2018 17:12:41 +0100 Subject: [PATCH] Introduced alternative Discord notification --- appveyor.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index 3b93a22..465fdbf 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -20,4 +20,10 @@ deploy: - provider: Environment name: BUILDBOT on: - appveyor_repo_tag: true \ No newline at end of file + appveyor_repo_tag: true +on_success: + - ps: Invoke-RestMethod https://raw.githubusercontent.com/DiscordHooks/appveyor-discord-webhook/master/send.ps1 -o send.ps1 + - ps: ./send.ps1 success $env:WEBHOOK_URL +on_failure: + - ps: Invoke-RestMethod https://raw.githubusercontent.com/DiscordHooks/appveyor-discord-webhook/master/send.ps1 -o send.ps1 + - ps: ./send.ps1 failure $env:WEBHOOK_URL \ No newline at end of file