Browse Source

drone branch restrict master

ebf201903051402
Dan Ballard 1 year ago
parent
commit
2e7f49bde4
1 changed files with 8 additions and 0 deletions
  1. +8
    -0
      .drone.yml

+ 8
- 0
.drone.yml 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]


Loading…
Cancel
Save