diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 3f56cfe4..30bf3495 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -26,7 +26,7 @@ phases: displayName: 'Publish Artifact: Compiled Module' inputs: PathtoPublish: BuildOutput - ArtifactName: PSGSuite + ArtifactName: BuildOutput - phase: Phase_2 diff --git a/build.ps1 b/build.ps1 index c137abc6..5e070ca5 100644 --- a/build.ps1 +++ b/build.ps1 @@ -102,6 +102,7 @@ else { if ( $Task -eq 'Deploy' -and ( $ENV:BHBuildSystem -ne 'VSTS' -or + $env:SourceBranch -like '*pull*' -or $env:BHCommitMessage -notmatch '!deploy' -or $env:BHBranchName -ne 'master' -or $PSVersionTable.PSVersion.Major -ne 5 -or