File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -54,18 +54,19 @@ extends:
5454 TargetFolder : ' $(Build.ArtifactStagingDirectory)'
5555
5656 - stage : DeployStaging
57- condition : and(contains(variables['build.sourceBranch '], 'refs/heads/ dev'), succeeded())
57+ condition : and(contains(variables['Build.SourceBranchName '], 'dev'), succeeded())
5858 dependsOn : CopyArtifactFiles
5959 jobs :
60- - deployment : staging
60+ - deployment : staging
61+ displayName : ' Deploy to Staging'
62+ environment : graphexplorerapi-staging
6163 templateContext :
6264 type : releaseJob
6365 isProduction : false
6466 inputs :
6567 - input : pipelineArtifact
6668 artifactName : drop
6769 targetPath : $(Build.ArtifactStagingDirectory)
68- environment : graphexplorerapi-staging
6970 strategy :
7071 runOnce :
7172 deploy :
@@ -90,18 +91,19 @@ extends:
9091
9192
9293 - stage : DeployProduction
93- condition : and(contains(variables['build.sourceBranch '], 'refs/heads/ master'), succeeded())
94+ condition : and(contains(variables['Build.SourceBranchName '], 'master'), succeeded())
9495 dependsOn : CopyArtifactFiles
9596 jobs :
9697 - deployment : production
98+ displayName : ' Deploy to Production'
99+ environment : graphexplorerapi-production
97100 templateContext :
98101 type : releaseJob
99102 isProduction : true
100103 inputs :
101104 - input : pipelineArtifact
102105 artifactName : drop
103106 targetPath : $(Build.ArtifactStagingDirectory)
104- environment : graphexplorerapi-production
105107 strategy :
106108 runOnce :
107109 deploy :
You can’t perform that action at this time.
0 commit comments