Skip to content

v1.0.8

v1.0.8 #9

Workflow file for this run

name: Notify on Releases
on:
release:
types:
- published
jobs:
notify:
runs-on: ubuntu-latest
steps:
- name: Send Telegram Notification
env:
TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_TOKEN }}
TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_TO }}
TAG_NAME: ${{ github.event.release.tag_name }}
RELEASE_DESC: ${{github.event.release.body}}
run: |
curl -X POST https://api.telegram.org/bot${{ env.TELEGRAM_BOT_TOKEN }}/sendMessage \
-d chat_id=${{ env.TELEGRAM_CHAT_ID }} \
-d parse_mode="Markdown" \
-d text="<b>Asv.Drones version $TAG_NAME Release Update!</b> <br><br>We are excited to announce the release of version 1.0.1,
packed with new features, improvments, and essential fixes to enhance your experience <br><br>
$RELEASE_DESC <br><br> ${{ github.event.release.name }} <br> ${{ github.event.release.html_url }}"