Skip to content

Commit

Permalink
send telegram notification on release
Browse files Browse the repository at this point in the history
  • Loading branch information
triwinds committed Feb 26, 2023
1 parent d398b06 commit bd102bc
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/release-notify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Release notify

on:
release:
types: [released]

jobs:
build:

runs-on: ubuntu-latest

steps:
- name: send telegram message on release
uses: appleboy/telegram-action@master
with:
to: ${{ secrets.TELEGRAM_TO }}
token: ${{ secrets.TELEGRAM_TOKEN }}
format: markdown
message: |
New release of ${{ github.event.release.tag_name }}:
${{ github.event.release.body }}
Release page: [${{ github.event.release.tag_name }}](${{ github.event.release.html_url }})

0 comments on commit bd102bc

Please sign in to comment.