Send wordpress VIP deployment notifications to Slack
Clone repository and install dependencies:
git clone https://github.com/doejo/vip-notify.git
cd vip-notify
bundle install
Application requires the following environment variables to function:
SLACK_WEBHOOK
- Wehbook url for a channelSLACK_CHANNEL
- Channel name to post updates toSLACK_USER
- Name of the user that sends notifications
To start application just run:
bundle exec thin start
Test integration endpoint:
GET /test
Notifications endpoint:
POST /notify
Required params:
theme
- Application theme namedeployer
- Deployer namedeployed_revision
- Deployed commit IDprevious_revision
- Previously deployed commit IDrevision_log
- Revision log text
The MIT License (MIT)
Copyright (c) 2014-2015 Doejo LLC