- Install and execute this CLI from within your Travis jobs to notify a Slack channel on deployment events.
- Note: It only works from within Travis jobs, as it reads from the provided Convenience Variables
$ gem install travis
$ travis encrypt SLACK_TOKEN=yourtoken --add
$ travis encrypt SLACK_WEBHOOK=yourwebhook --add
after_deploy:
- pip install notifybot && notifybot -t $SLACK_TOKEN -c your-slack-channel
after_deploy:
- pip install notifybot && notifybot -w $SLACK_WEBHOOK -c your-slack-channel