From e48ed1806cea9ed4742dc669006e618f73e4ab9f Mon Sep 17 00:00:00 2001 From: Qstick Date: Sat, 26 Jun 2021 16:37:26 -0400 Subject: [PATCH] Update Discord Notification Job [skip ci] --- azure-pipelines.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index a9a93b654..2deb566d2 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -868,7 +868,7 @@ stages: - job: displayName: Discord Notification pool: - vmImage: 'windows-2019' + vmImage: 'ubuntu-18.04' steps: - task: DownloadPipelineArtifact@2 continueOnError: true @@ -878,7 +878,7 @@ stages: artifactName: 'WindowsAutomationScreenshots' targetPath: $(Build.SourcesDirectory) - checkout: none - - powershell: | + - pwsh: | iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/Servarr/AzureDiscordNotify/master/DiscordNotify.ps1')) env: SYSTEM_ACCESSTOKEN: $(System.AccessToken)