Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

Outline

The Serverless Gong! 🔔

A serverless gong with GitHub and Slack webhooks - made for the No Server November Challenge.

When a selected repository in GitHub has a release event, a chosen Slack channel is messaged with a gong! Your final result will look like this:

screenshot

Setup

  1. Create a Slack incoming webhook for the channel you want to gong.

  2. Set your GitHub webhook secret and Slack webhook URL in serverless.yml by replacing REPLACE-WITH-YOUR-SECRET-HERE and REPLACE-WITH-YOUR-SLACK-WEBHOOK-URL-HERE.

    provider:
      environment:
        GITHUB_WEBHOOK_SECRET: REPLACE-WITH-YOUR-SECRET-HERE
        SLACK_WEBHOOK_URL: REPLACE-WITH-YOUR-SLACK-WEBHOOK-URL-HERE
  3. Deploy the service

    serverless deploy
  4. Configure a webhook on the GitHub repository you want to gong. Setting up a Webhook. Point it at the deployed /webhook endpoint and select at least the Releases event.

  5. Cut a release on the repository and watch the gong land in Slack! 🔔

Morty Proxy This is a proxified and sanitized view of the page, visit original site.