Skip to content

avkviring/telegram-github-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setup

  • add file telegram.yml to .github/workflows
  • add secrets (telegram_to, telegram_token)
  • enjoy

.github/workflows/telegram.yml

name: telegram

on:
  push:
    branches: [ master ]  
 release:    
    types:
      - published    
jobs:
  build:    
    runs-on: ubuntu-latest    
    steps:        
    - uses: avkviring/[email protected]
      env:
        telegram_to: ${{ secrets.telegram_to }}  
        telegram_token: ${{ secrets.telegram_token }}
        event: ${{ toJson(github.event) }}

Result in telegram

user push to repo
 ➞ Commit message 1
 ➞ Commit message 2
 ➞ Commit message 3
user release repo@tag
Release title