Skip to content

Commit

Permalink
Only run deployment on tags
Browse files Browse the repository at this point in the history
Batch pipeline runs
Limit to changes on specific paths
  • Loading branch information
danielga committed Apr 25, 2021
1 parent 3b3cbfc commit 4534531
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,18 @@ variables:
REPOSITORY_DIR: $(System.DefaultWorkingDirectory)
DISABLE_X86_64_BUILD: true
trigger:
batch: true
branches:
include:
- '*'
tags:
include:
- '*'
paths:
include:
- azure-pipelines.yml
- premake5.lua
- source
jobs:
- job: windows
displayName: Windows
Expand Down Expand Up @@ -127,6 +136,7 @@ jobs:
- windows
- linux
- macosx
condition: and(succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags/'))
steps:
- task: DownloadBuildArtifacts@0
displayName: 'Download build artifacts'
Expand Down

0 comments on commit 4534531

Please sign in to comment.