summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--appveyor.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/appveyor.yml b/appveyor.yml
index f1ccff60..ef5a5b25 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -25,8 +25,8 @@ 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:
- - appveyor PushArtifact stdout.log
- - appveyor PushArtifact stderr.log
- ps: Set-Location -Path $env:APPVEYOR_BUILD_FOLDER
+ - ps: Push-AppveyorArtifact $env:APPVEYOR_BUILD_FOLDER -FileName stdout.log
+ - ps: Push-AppveyorArtifact $env:APPVEYOR_BUILD_FOLDER -FileName stderr.log
- ps: Invoke-RestMethod https://raw.githubusercontent.com/DiscordHooks/appveyor-discord-webhook/master/send.ps1 -o send.ps1
- ps: ./send.ps1 failure $env:WEBHOOK_URL