diff options
| author | LePresidente <brian.alexander.munro@gmail.com> | 2019-02-20 09:24:50 +0200 |
|---|---|---|
| committer | LePresidente <brian.alexander.munro@gmail.com> | 2019-02-20 09:24:50 +0200 |
| commit | b62dff5fd6bf39e866d137d5ca5e625bf087b5af (patch) | |
| tree | 589fa548d6dbb57cacf652bceb295a2cf2d697cd | |
| parent | 1a123d2dfa5ba8a0da2c4411b0212a2acad4d2bf (diff) | |
[Appveyor] make sure we are in the appveyor build folder before sending the discord notification, to avoid errors
| -rw-r--r-- | appveyor.yml | 2 |
1 files changed, 2 insertions, 0 deletions
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 |
