diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 0527b4639..3bc720d70 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -870,7 +870,7 @@ stages: - job: displayName: Discord Notification pool: - vmImage: 'windows-2019' + vmImage: 'ubuntu-18.04' steps: - task: DownloadPipelineArtifact@2 continueOnError: true @@ -880,7 +880,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)