Update azure-pipelines.yml for Azure Pipelines

This commit is contained in:
Brett Hewitson 2022-12-21 19:34:23 +10:00
parent fffd5c4932
commit f2573215c8

View file

@ -24,7 +24,7 @@ variables:
stages: stages:
- stage: build - stage: build
displayName: Build and Publish $(ApplicationName) displayName: Build and Publish
jobs: jobs:
- job: build - job: build
@ -93,7 +93,7 @@ stages:
ArtifactName: '$(PublishFolder)' ArtifactName: '$(PublishFolder)'
- stage: deployBeta - stage: deployBeta
displayName: Deploy Beta $(ApplicationName) displayName: Deploy Beta
lockBehavior: runLatest lockBehavior: runLatest
condition: and(succeeded(), eq(variables['build.sourceBranch'], 'refs/heads/source')) condition: and(succeeded(), eq(variables['build.sourceBranch'], 'refs/heads/source'))
dependsOn: dependsOn:
@ -105,7 +105,7 @@ stages:
environment: github-servermanager-beta environment: github-servermanager-beta
- stage: deployRelease - stage: deployRelease
displayName: Deploy Release $(ApplicationName) displayName: Deploy Release
lockBehavior: runLatest lockBehavior: runLatest
condition: and(succeeded(), eq(variables['build.sourceBranch'], 'refs/heads/source')) condition: and(succeeded(), eq(variables['build.sourceBranch'], 'refs/heads/source'))
dependsOn: dependsOn: