https://github.com/hoshinotsuyoshi/codedeploy_slack_notify
https://github.com/hoshinotsuyoshi/codedeploy_slack_notify
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/hoshinotsuyoshi/codedeploy_slack_notify
- Owner: hoshinotsuyoshi
- License: mit
- Created: 2016-05-18T08:52:50.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-06-13T10:50:02.000Z (almost 9 years ago)
- Last Synced: 2025-03-25T04:13:26.473Z (3 months ago)
- Language: Ruby
- Size: 8.79 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# CodedeploySlackNotify
Slack notifier by using [AWS Codedeploy](https://aws.amazon.com/en/codedeploy/)'s DEPLOYMENT_ID

## Installation
Add this line to your application's Gemfile:
```ruby
gem 'codedeploy_slack_notify'
```And then execute:
$ bundle
Or install it yourself as:
$ gem install codedeploy_slack_notify
## Usage
```sh
$ SLACK_WEBHOOK_URL="https://hooks.slack.com/services/xxxxxxxxx/xxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxx" \
SLACK_CHANNEL="#xxxxxxxxxxx" \
SLACK_USERNAME=xxxxxxxxxxxxxxxx \
DEPLOYMENT_ID=d-xxxxxxx \
codedeploy_slack_notify
```## Note
Supports only "Deployment Config: `CodeDeployDefault.OneAtATime`"
## License
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).