Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
RehanSaeed committed Oct 13, 2019
2 parents ac2d1e1 + 9752b6b commit 4bbf614
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ stages:
jobs:
- deployment: AzureArtefacts
displayName: 'Azure Artefacts'
condition: ne(variables['Build.Reason'], 'PullRequest')
pool:
vmImage: windows-latest
environment: 'Azure Artefacts'
Expand All @@ -79,6 +80,7 @@ stages:
displayName: 'NuGet Push'
failOnStderr: true
- deployment: GitHub
condition: ne(variables['Build.Reason'], 'PullRequest')
pool:
vmImage: windows-latest
environment: 'GitHub'
Expand All @@ -95,10 +97,10 @@ stages:
displayName: 'NuGet Push'
failOnStderr: true
- deployment: NuGet
condition: and(ne(variables['Build.Reason'], 'PullRequest'), startsWith(variables['Build.sourceBranch'], 'refs/tags/'))
pool:
vmImage: windows-latest
environment: 'NuGet'
condition: startsWith(variables['Build.sourceBranch'], 'refs/tags/')
strategy:
runOnce:
deploy:
Expand Down

0 comments on commit 4bbf614

Please sign in to comment.