Skip to content

Heroku Deploy with Telegram

Actions
A simple Github Action to deploy to Heroku and notify via Telegram
v1.0
Latest
Star (10)

Heroku Deploy with Telegram

A simple Github Action to deploy to Heroku and notify via Telegram.

Generic badge Generic badge GitHub stars
forthebadge

Usage

Goto Actions tab on your Github Repository and create a new workflow. Use the following template to create your action.

name: Heroku Deploy with Telegram
  'on': 
    push:
      branches: [master]
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v2

      - name: Deploy to Heroku
        uses: Suvink/[email protected]
        with:
        heroku_app_name: Your unique Heroku app name
        heroku_email: Email you used for Heroku
        dontuseforce: false #Disable force push [optional]
        buildpack: Your buildpack 
        env:
        HEROKU_TOKEN: '${{ secrets.HEROKU_TOKEN }}'
        BOT_TOKEN: '${{ secrets.BOT_TOKEN }}'
        CHAT_ID: '${{ secrets.CHAT_ID }}'

Secrets

  • HEROKU_TOKEN : [Required] Refer here to get a Heroku Access Token.
  • BOT_TOKEN: [Required] Refer here to get a Telegram Bot Token.
  • CHAT_ID: [Required] Add @chatid_echo_bot to the chat you want and it will echo your chat ID starting with a "-".

Licence

This project is licensed under the MIT License - see the LICENSE file for details

Heroku Deploy with Telegram is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

A simple Github Action to deploy to Heroku and notify via Telegram
v1.0
Latest

Heroku Deploy with Telegram is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.