drone branch restrict master

This commit is contained in:
Dan Ballard 2019-03-05 12:22:11 -08:00
parent d6fc4766a0
commit 2e7f49bde4
1 changed files with 8 additions and 0 deletions

View File

@ -8,6 +8,7 @@ pipeline:
image: therecipe/qt:linux
when:
repo: cwtch.im/ui
branch: master
event: [ push, pull_request ]
environment:
- QT_DIR=/opt/Qt
@ -30,6 +31,7 @@ pipeline:
image: therecipe/qt:android
when:
repo: cwtch.im/ui
branch: master
event: push
environment:
- QT_DIR=/opt/Qt
@ -54,6 +56,7 @@ pipeline:
image: therecipe/qt:windows_64_shared
when:
repo: cwtch.im/ui
branch: master
event: push
environment:
- QT_DIR=/opt/Qt
@ -81,6 +84,7 @@ pipeline:
secrets: [buildfiles_key]
when:
repo: cwtch.im/ui
branch: master
event: push
status: [ success ]
commands:
@ -100,10 +104,14 @@ pipeline:
skip_verify: true
from: drone@openprivacy.ca
when:
repo: cwtch.im/ui
branch: master
status: [ failure ]
notify-gogs:
image: openpriv/drone-gogs
when:
repo: cwtch.im/ui
branch: master
event: pull_request
status: [ success, changed, failure ]
secrets: [gogs_account_token]