We're a few years behind the curve on this one, but using "master" as a programming term is a callous practice that explicitly uses the historical institution of slavery as a cheap, racist metaphor. Switch to using "main", as it's the new default in git and GitHub.
20 lines
431 B
YAML
20 lines
431 B
YAML
# Nightly pipeline running each day for main.
|
|
trigger: none
|
|
pr: none
|
|
schedules:
|
|
- cron: "30 4 * * *"
|
|
displayName: Nightly build
|
|
branches:
|
|
include:
|
|
- main
|
|
always: true
|
|
|
|
variables:
|
|
dockerTag: nightly
|
|
snapBuildTimeout: 19800
|
|
|
|
stages:
|
|
- template: templates/stages/test-and-package-stage.yml
|
|
- template: templates/stages/nightly-deploy-stage.yml
|
|
- template: templates/stages/notify-failure-stage.yml
|