Use newer syntax for secrets and the webhook url
All checks were successful
the build was successful

This commit is contained in:
Peter Stuifzand 2019-01-12 17:23:13 +01:00
parent 0cb798093a
commit c2f23d3e7f
Signed by: peter
GPG Key ID: 374322D56E5209E8

View File

@ -19,8 +19,9 @@ pipeline:
image: plugins/webhook image: plugins/webhook
settings: settings:
debug: true debug: true
urls: secrets:
from_secret: success_webhook - source: success_webhook
target: urls
when: when:
status: [success] status: [success]
@ -28,7 +29,8 @@ pipeline:
image: plugins/webhook image: plugins/webhook
settings: settings:
debug: true debug: true
urls: secrets:
from_secret: failure_webhook - source: failure_webhook
target: urls
when: when:
status: [failure] status: [failure]