Skip to content

Commit

Permalink
Update azure-pipelines.yml for Azure Pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
jooni91 committed Feb 15, 2020
1 parent 2833962 commit 433efea
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@ jobs:

- job: PublishArtifacts
displayName: Publish Production Artifacts
dependsOn: BuildPack | Test
dependsOn:
- BuildPack
- Test
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))
steps:
- task: PublishBuildArtifacts@1
Expand All @@ -78,7 +80,9 @@ jobs:

- deployment: PushArtifacts
displayName: Push to Development Feed
dependsOn: BuildPack | Test
dependsOn:
- BuildPack
- Test
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/dev'))
environment: Development
strategy:
Expand Down

0 comments on commit 433efea

Please sign in to comment.