2018-09-22 05:54:21 -05:00
|
|
|
notify:
|
|
|
|
'example-google-chat':
|
|
|
|
method: POST
|
|
|
|
headers: [{ 'Content-Type': 'application/json' }]
|
2020-09-22 16:43:39 -05:00
|
|
|
endpoint: http://slack-service/foo?auth_token=mySecretToken
|
2018-09-22 05:54:21 -05:00
|
|
|
content: '{"text":"New package published: `{{ name }}{{#each versions}} v{{version}}{{/each}}`"}'
|
|
|
|
'example-hipchat':
|
|
|
|
method: POST
|
|
|
|
headers: [{ 'Content-Type': 'application/json' }]
|
2020-09-22 16:43:39 -05:00
|
|
|
endpoint: http://slack-service/foo?auth_token=mySecretToken
|
2018-09-22 05:54:21 -05:00
|
|
|
content: '{"color":"green","message":"New package published: * {{ name }}*","notify":true,"message_format":"text"}'
|
|
|
|
'example-stride':
|
|
|
|
method: POST
|
2020-09-03 14:15:29 -05:00
|
|
|
headers: [{ 'Content-Type': 'application/json' }, { 'authorization': 'Bearer secretToken' }]
|
2020-09-22 16:43:39 -05:00
|
|
|
endpoint: http://slack-service/foo?auth_token=mySecretToken
|
2018-09-22 05:54:21 -05:00
|
|
|
content: '{"body": {"version": 1,"type": "doc","content": [{"type": "paragraph","content": [{"type": "text","text": "New package published: * {{ name }}* Publisher name: * {{ publisher.name }}"}]}]}}'
|