From b62dff5fd6bf39e866d137d5ca5e625bf087b5af Mon Sep 17 00:00:00 2001 From: LePresidente Date: Wed, 20 Feb 2019 09:24:50 +0200 Subject: [Appveyor] make sure we are in the appveyor build folder before sending the discord notification, to avoid errors --- appveyor.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/appveyor.yml b/appveyor.yml index 6d1d48a7..2992614d 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -19,8 +19,10 @@ artifacts: - path: vsbuild\src\RelWithDebInfo\ModOrganizer.pdb name: modorganizer_pdb on_success: + - ps: Set-Location -Path $env:APPVEYOR_BUILD_FOLDER - 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: Set-Location -Path $env:APPVEYOR_BUILD_FOLDER - 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 -- cgit v1.3.1