From 4f589e2ff89745abbfe33fe5b0e5a60d0f7851e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Matou=C5=A1ek?= Date: Tue, 26 Nov 2019 14:37:12 -0800 Subject: [PATCH] Use schedule for official build --- azure-pipelines.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 9248ab8c..d7c260b4 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1,6 +1,5 @@ -# Branches that trigger a build on commit -trigger: - batch: true +# Branches that trigger builds on PR +pr: branches: include: - master @@ -10,12 +9,13 @@ trigger: - README.md - docs/* -# Branches that trigger builds on PR -pr: +# Run official build every day at midnight, if code has changed since the last run. +schedules: +- cron: "0 0 * * *" + displayName: Daily Official Build branches: include: - - master - - release/* + - master paths: exclude: - README.md