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