Actualizada guía de GNU/Linux #236
This file contains hidden or 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: Telegram Notifications | |
on: [push] | |
jobs: | |
notify: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Send notifications to Telegram | |
run: curl -s -X POST https://api.telegram.org/bot5954860043:AAE_3WJgDxYUGZb8A5-Kmsycsj6cWFc2ytw/sendMessage -d chat_id=-849254269 -d text="${MESSAGE}" >> /dev/null | |
env: | |
MESSAGE: "Se ha realizado un nuevo push en la rama ${{ github.ref }}, Commit: ${{ github.event.head_commit.message }} > ${{ github.event.head_commit.url }}." |