Skip to content

Update main.yml

Update main.yml #2

Workflow file for this run

name: Test Telegram Notification
on:
push:
branches:
- main
jobs:
notify:
runs-on: ubuntu-latest
steps:
- name: Send Telegram Notification
uses: appleboy/[email protected]
with:
to: ${{ secrets.TELEGRAM_CHAT_ID }}
token: ${{ secrets.TELEGRAM_BOT_API_KEY }}
message: |
A new commit has been pushed to the Learn-Linux repository!
Repository: https://github.com/cosmicqbit/Learn-Linux
Commit Message: ${{ github.event.head_commit.message }}
Commit Author: ${{ github.event.head_commit.author.name }}
Commit URL: ${{ github.event.head_commit.url }}