Skip to content

Commit

Permalink
Set proper branch name for publishing (#101)
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-nosar authored Oct 11, 2019
1 parent 2aba086 commit 3812bb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,4 +95,4 @@ jobs:
AZURE_STORAGE_CONNECTION_STRING: $(AzureStorageConnectionString)
SOURCE_BRANCH: $(Build.SourceBranch)
displayName: "Publish to Azure Blob Storage"
condition: and(succeeded(), eq(variables['Agent.JobName'], variables['AzurePublishWhen']), eq(variables['Build.SourceBranch'], 'master'), eq(variables['Build.Reason'], 'IndividualCI'))
condition: and(succeeded(), eq(variables['Agent.JobName'], variables['AzurePublishWhen']), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq(variables['Build.Reason'], 'IndividualCI'))

0 comments on commit 3812bb2

Please sign in to comment.