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