Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mattiamalonni/capistrano-telegram
Telegram integration for Capistrano deployments
https://github.com/mattiamalonni/capistrano-telegram
capistrano capistrano-plugin deployment notifications ruby ruby-on-rails telegram telegram-bot
Last synced: 27 days ago
JSON representation
Telegram integration for Capistrano deployments
- Host: GitHub
- URL: https://github.com/mattiamalonni/capistrano-telegram
- Owner: mattiamalonni
- License: mit
- Created: 2019-07-11T14:16:07.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-07-16T12:29:39.000Z (over 5 years ago)
- Last Synced: 2024-09-30T09:41:39.985Z (about 1 month ago)
- Topics: capistrano, capistrano-plugin, deployment, notifications, ruby, ruby-on-rails, telegram, telegram-bot
- Language: Ruby
- Homepage:
- Size: 18.6 KB
- Stars: 1
- Watchers: 0
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Capistrano - Telegram Notification
Send notifications to Telegram about Capistrano deployments.
## Installation
1. Add this line to your application's `Gemfile`:
```ruby
gem 'capistrano-telegram'
```2. Execute:
```
$ bundle
```3. Require the library in your application's `Capfile`:
```ruby
require 'capistrano/telegram'
```## Prerequisites
1. Create a new bot (refer to the official Telegram guide [here](https://core.telegram.org/bots)) and take note of the token generated.2. Include your bot in the desired chat
3. To get the `chat_id`, go to: https://api.telegram.org/bot**YOUR_BOT_TOKEN**/getUpdates
## Configuration
1. Add these lines to your application's `config/deploy.rb` file:
```ruby
set :telegram_bot_key, 'YOUR_BOT_ID'
set :telegram_chat_id, 'YOUR_BOT_CHAT_ID'
```