0
0
mirror of https://github.com/thegeeklab/github-releases-notifier.git synced 2024-11-14 18:10:40 +00:00

fix drone condition

This commit is contained in:
Robert Kaussow 2020-01-14 15:39:08 +01:00
parent 02e75e36cf
commit 96ee316168
2 changed files with 16 additions and 3 deletions

View File

@ -198,6 +198,11 @@ def notification():
'spec': 'docker/manifest.tmpl', 'spec': 'docker/manifest.tmpl',
'ignore_missing': 'true', 'ignore_missing': 'true',
}, },
'when' : {
'status': [
'success',
]
},
}, },
{ {
'name': 'microbadger', 'name': 'microbadger',
@ -210,7 +215,6 @@ def notification():
'when' : { 'when' : {
'status': [ 'status': [
'success', 'success',
'failure'
] ]
}, },
}, },
@ -221,5 +225,9 @@ def notification():
'refs/heads/master', 'refs/heads/master',
'refs/tags/**' 'refs/tags/**'
], ],
'status': [
'success',
'failure'
]
} }
}] }]

View File

@ -285,6 +285,9 @@ steps:
spec: docker/manifest.tmpl spec: docker/manifest.tmpl
username: username:
from_secret: docker_username from_secret: docker_username
when:
status:
- success
- name: microbadger - name: microbadger
image: xoxys/github-releases-notifier image: xoxys/github-releases-notifier
@ -294,12 +297,14 @@ steps:
when: when:
status: status:
- success - success
- failure
trigger: trigger:
ref: ref:
- refs/heads/master - refs/heads/master
- refs/tags/** - refs/tags/**
status:
- success
- failure
depends_on: depends_on:
- build-container-amd64 - build-container-amd64
@ -308,6 +313,6 @@ depends_on:
--- ---
kind: signature kind: signature
hmac: 8ec9a1f75b74bdacdf65eb5df4cc72aa22c57641ee9efb8186a8310c2459d4d2 hmac: 8c65eff50af8574d8623946b9337b1befe6abc179d13bfcea2ea97deab2e84f6
... ...