No commit activity in last 3 years
No release in over 3 years
Notify Capistrano deployment to Telegram.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.7
~> 10.0

Runtime

 Project Readme

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'