Skip to content

rmachado/UpDownRocket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

UpDownRocket

updown.io integration for Rocket.Chat

Installation

Download code

Download source from here.
Unzip Sources.


Configure Rocket.Chat

Add user (optional)

This step is optional if you've already got a user which you want to use as post author you can skip this step.
Otherwise add a new user who is posting the updates to your channel or who ist texting the user which is supposed to be informed.

Configure incoming Webhook in Rocket.Chat

In your Rocket.Chat instance go to administration panel an click on "Integrations". To add an integration with BitRocket click on "NEW INTEGRATION".
Next, choose "Incoming WebHook".
Now, on the webhook config screen, set the following values:

Enabled

Set this value to true

Name (optional)

Enter the desired name for the integration (e.g. "UpDownRocket").

Post to Channel

Self-explaining option. Insert the desired channel or user which receives the post on pushing to your repositories.
An example user would be @username, an example channel would be #channelname.

Post as

Here you've got to define the user who is posting the updates. This is the user you've created earlier.

Script Enabled

Set this setting to true.

UpDown Script

Insert the complete code of the file script.js into this field.

Configure updown hook

Log into updown.io, go to Settings.
Add a new webhook (in the bottom-right panel) and paste there the webhook url from Rocket.Chat

Test the hook

After you set-up the integration you can test it by editing the file example-payload.json as you wish and using curl:

curl -X POST --data-urlencode 'payload=$EXAMPLE_CONTENT' $WEBHOOK_URL

About

updown.io integration for Rocket.Chat

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages