mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-01-06 22:40:26 -05:00
chore: add stride notifications example
This commit is contained in:
parent
30f1ca1c1d
commit
9159e2075d
1 changed files with 6 additions and 1 deletions
|
@ -36,6 +36,11 @@ notify:
|
||||||
headers: [{'Content-Type': 'application/json'}]
|
headers: [{'Content-Type': 'application/json'}]
|
||||||
endpoint: https://usagge.hipchat.com/v2/room/3729485/notification?auth_token=mySecretToken
|
endpoint: https://usagge.hipchat.com/v2/room/3729485/notification?auth_token=mySecretToken
|
||||||
content: '{"color":"green","message":"New package published: * {{ name }}*","notify":true,"message_format":"text"}'
|
content: '{"color":"green","message":"New package published: * {{ name }}*","notify":true,"message_format":"text"}'
|
||||||
|
'example-stride':
|
||||||
|
method: POST
|
||||||
|
headers: [{'Content-Type': 'application/json'}, {'authorization': 'Bearer secretToken'}]
|
||||||
|
endpoint: https://api.atlassian.com/site/{cloudId}/conversation/{conversationId}/message
|
||||||
|
content: '{"body": {"version": 1,"type": "doc","content": [{"type": "paragraph","content": [{"type": "text","text": "New package published: * {{ name }}* Publisher name: * {{ publisher.name }}"}]}]}}'
|
||||||
```
|
```
|
||||||
|
|
||||||
### Publisher information
|
### Publisher information
|
||||||
|
|
Loading…
Reference in a new issue