Skip to content

Send Wordpress VIP deployment notifications to a Slack channel

License

Notifications You must be signed in to change notification settings

doejo/vip-notify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vip-notify

Send wordpress VIP deployment notifications to Slack

Travis

Install

Clone repository and install dependencies:

git clone https://github.com/doejo/vip-notify.git
cd vip-notify
bundle install

Configure

Application requires the following environment variables to function:

  • SLACK_WEBHOOK - Wehbook url for a channel
  • SLACK_CHANNEL - Channel name to post updates to
  • SLACK_USER - Name of the user that sends notifications

Start

To start application just run:

bundle exec thin start

Endpoints

Test integration endpoint:

GET /test

Notifications endpoint:

POST /notify

Required params:

  • theme - Application theme name
  • deployer - Deployer name
  • deployed_revision - Deployed commit ID
  • previous_revision - Previously deployed commit ID
  • revision_log - Revision log text

License

The MIT License (MIT)

Copyright (c) 2014-2015 Doejo LLC

About

Send Wordpress VIP deployment notifications to a Slack channel

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages