Skip to content

itavia/capistrano-telegram

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Capistrano - Telegram Notification

Send notifications to Telegram about Capistrano deployments.

Installation

  1. Add this line to your application's Gemfile:

    gem 'capistrano-telegram'
  2. Execute:

    $ bundle
    
  3. Require the library in your application's Capfile:

    require 'capistrano/telegram'

Prerequisites

  1. Create a new bot (refer to the official Telegram guide here) 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/botYOUR_BOT_TOKEN/getUpdates

Configuration

  1. Add these lines to your application's config/deploy.rb file:

    set :telegram_bot_key, 'YOUR_BOT_ID'
    set :telegram_chat_id, 'YOUR_BOT_CHAT_ID'

About

Telegram integration for Capistrano deployments

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%