Use newer syntax for secrets and the webhook url
All checks were successful
the build was successful
All checks were successful
the build was successful
This commit is contained in:
parent
0cb798093a
commit
c2f23d3e7f
10
.drone.yml
10
.drone.yml
|
@ -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]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user