AZP: Update triggers

The push event should only trigger AZP builds on the main branch, not on other branches

Also only trigger AZP when a recipe or CI configuration got changed
This commit is contained in:
Croydon
2020-11-17 11:10:47 +01:00
parent 273e685e03
commit a620b32db8

View File

@@ -2,6 +2,16 @@ variables:
BPT_SPLIT_BY_BUILD_TYPES: "true"
BPT_REQUIRE_MORE_DISK_SPACE: "true"
# the pull request trigger is implicit
trigger:
branches:
include:
- main
paths:
include:
- recipes/*
- azure-pipelines.yml
# bincrafters-conventions:azp-version:2
# You can add custom environment variables above the version tag
# Do not modify the tag or anything below the tag