diff --git a/.azure/pipelines/azure-pipelines-deploy.yml b/.azure/pipelines/azure-pipelines-deploy.yml index 76947db4..39d91a8d 100644 --- a/.azure/pipelines/azure-pipelines-deploy.yml +++ b/.azure/pipelines/azure-pipelines-deploy.yml @@ -56,10 +56,12 @@ stages: - template: output-environment-variables.yml@self - checkout: MasterRepo + enabled: false persistCredentials: true - task: PowerShell@2 displayName: Pull Master Repository Files + enabled: false env: DEPLOY_BUILDNUMBER: $(Build.BuildNumber) DEPLOY_SOURCESDIRECTORY: $(Build.SourcesDirectory) @@ -86,6 +88,7 @@ stages: - task: PowerShell@2 displayName: Copy ${{parameters.DeploymentType}} Files + enabled: false env: DEPLOY_BUILDNUMBER: $(Build.BuildNumber) DEPLOY_PUBLISHDIRECTORY: "$(Agent.BuildDirectory)/${{parameters.PublishFolder}}" @@ -127,6 +130,7 @@ stages: - task: PowerShell@2 displayName: Commit ${{parameters.DeploymentType}} Files + enabled: false env: DEPLOY_BUILDNUMBER: $(Build.BuildNumber) DEPLOY_SOURCESDIRECTORY: $(Build.SourcesDirectory) @@ -172,7 +176,7 @@ stages: - task: PowerShell@2 displayName: 'Update VersionRevision Variable' condition: eq('${{parameters.DeploymentType}}', 'Beta') - enabled: false + enabled: true env: SYSTEM_ACCESSTOKEN: $(System.AccessToken) inputs: @@ -193,23 +197,6 @@ stages: arguments: "-variableName 'VersionRevision'" pwsh: true - - task: PowerShell@2 - displayName: Update Pipeline Version Variables (TODO) - enabled: false - env: - SYSTEM_ACCESSTOKEN: $(System.AccessToken) - inputs: - targetType: inline - script: | - if ('${{parameters.DeploymentType}}' -eq 'Beta') { - Write-Host "Updating beta pipeline variables" - } - - if ('${{parameters.DeploymentType}}' -eq 'Production') { - Write-Host "Updating production pipeline variables" - } - pwsh: true - - template: azure-pipelines-clean-agent.yml@self parameters: CleanArtifactsFolder: true