diff --git a/.azure/pipelines/azure-pipelines.yml b/.azure/pipelines/azure-pipelines.yml index bd4c6cbf..49f6ec50 100644 --- a/.azure/pipelines/azure-pipelines.yml +++ b/.azure/pipelines/azure-pipelines.yml @@ -24,7 +24,7 @@ variables: stages: - stage: build - displayName: Build and Publish + displayName: Build and Publish $(ApplicationName) jobs: - job: build @@ -91,3 +91,27 @@ stages: inputs: PathtoPublish: '$(Build.ArtifactStagingDirectory)' ArtifactName: '$(PublishFolder)' + +- stage: deployBeta + displayName: Deploy Beta $(ApplicationName) + lockBehavior: runLatest + condition: and(succeeded(), eq(variables['build.sourceBranch'], 'refs/heads/source')) + dependsOn: + - build + + jobs: + - deployment: deployBeta + displayName: Deploy Beta + environment: github-servermanager-beta + +- stage: deployRelease + displayName: Deploy Release $(ApplicationName) + lockBehavior: runLatest + condition: and(succeeded(), eq(variables['build.sourceBranch'], 'refs/heads/source')) + dependsOn: + - deployBeta + + jobs: + - deployment: deployRelease + displayName: Deploy Release + environment: github-servermanager-release \ No newline at end of file