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
|
||||
settings:
|
||||
debug: true
|
||||
urls:
|
||||
from_secret: success_webhook
|
||||
secrets:
|
||||
- source: success_webhook
|
||||
target: urls
|
||||
when:
|
||||
status: [success]
|
||||
|
||||
|
@ -28,7 +29,8 @@ pipeline:
|
|||
image: plugins/webhook
|
||||
settings:
|
||||
debug: true
|
||||
urls:
|
||||
from_secret: failure_webhook
|
||||
secrets:
|
||||
- source: failure_webhook
|
||||
target: urls
|
||||
when:
|
||||
status: [failure]
|
||||
|
|
Loading…
Reference in New Issue
Block a user