v1.1.24 #21
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: release-notification | |
on: | |
release: | |
types: [published] | |
jobs: | |
notify-on-release: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Send Telegram Notification on new release | |
uses: cbrgm/telegram-github-action@v1 | |
with: | |
token: ${{ secrets.TELEGRAM_TOKEN }} | |
to: ${{ secrets.TELEGRAM_CHAT_ID }} | |
message: | | |
🚀 New Release Published! | |
Release Name: ${{ github.event.release.name }} | |
Tag: ${{ github.event.release.tag_name }} | |
Actor: ${{ github.actor }} | |
Repository: ${{ github.repository }} | |
Check it out: ${{ github.event.release.html_url }} | |
- name: Send Mastodon Status on new release | |
id: mastodon | |
uses: cbrgm/mastodon-github-action@v2 | |
if: ${{ !github.event.repository.private }} | |
with: | |
access-token: ${{ secrets.MASTODON_ACCESS_TOKEN }} | |
url: ${{ secrets.MASTODON_URL }} | |
language: "en" | |
message: | | |
🚀 ${{ github.repository }} ${{ github.event.release.name }} published! | |
Check it out: ${{ github.event.release.html_url }} | |
... |