Only trigger hassio on dev change.

This commit is contained in:
Koen Kanters 2019-09-30 20:39:13 +02:00
parent 80aa023f7f
commit ce08668543

View File

@ -75,3 +75,4 @@ steps:
-d "$BODY" \
"https://api.travis-ci.org/repo/danielwelch%2Fhassio-zigbee2mqtt/requests"
displayName: 'Trigger Hass.io build'
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/dev'), ne(variables['Build.Reason'], 'PullRequest'))