Skip to content

Commit 4f589e2

Browse files
authored
Use schedule for official build
1 parent 4dc0667 commit 4f589e2

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

azure-pipelines.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
# Branches that trigger a build on commit
2-
trigger:
3-
batch: true
1+
# Branches that trigger builds on PR
2+
pr:
43
branches:
54
include:
65
- master
@@ -10,12 +9,13 @@ trigger:
109
- README.md
1110
- docs/*
1211

13-
# Branches that trigger builds on PR
14-
pr:
12+
# Run official build every day at midnight, if code has changed since the last run.
13+
schedules:
14+
- cron: "0 0 * * *"
15+
displayName: Daily Official Build
1516
branches:
1617
include:
17-
- master
18-
- release/*
18+
- master
1919
paths:
2020
exclude:
2121
- README.md

0 commit comments

Comments
 (0)