Skip to content
Open
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ trigger:

variables:
buildConfiguration: 'Release'
releaseBranchName: 'release'

stages:
- stage: 'Build'
Expand Down Expand Up @@ -65,9 +66,10 @@ stages:
- publish: '$(Build.ArtifactStagingDirectory)'
artifact: drop

- stage: 'Deploy'
- stage: 'Dev'
displayName: 'Deploy the web application'
dependsOn: Build
condition: and(succeeded(), eq(variables['Build.SourceBranch'], concat('refs/heads/', variables['releaseBranchName'])))
jobs:
- deployment: Deploy
pool:
Expand Down