|
@@ -58,10 +58,10 @@ jobs:
|
|
|
- name: Send Telegram Notification
|
|
- name: Send Telegram Notification
|
|
|
if: ${{ inputs.release_type == 'Actions' }}
|
|
if: ${{ inputs.release_type == 'Actions' }}
|
|
|
run: |
|
|
run: |
|
|
|
- curl -s -X POST "https://api.telegram.org/bot${{ secrets.TELEGRAM_BOT_TOKEN }}/sendDocument" \
|
|
|
|
|
|
|
+ curl -X POST "https://api.telegram.org/bot${{ secrets.TELEGRAM_BOT_TOKEN }}/sendMessage" \
|
|
|
-F chat_id="${{ secrets.TELEGRAM_CHAT_ID }}" \
|
|
-F chat_id="${{ secrets.TELEGRAM_CHAT_ID }}" \
|
|
|
-F message_thread_id="${{ secrets.TELEGRAM_MESSAGE_THREAD_ID }}" \
|
|
-F message_thread_id="${{ secrets.TELEGRAM_MESSAGE_THREAD_ID }}" \
|
|
|
- -F caption="
|
|
|
|
|
|
|
+ -F text="
|
|
|
🚀 Build started for ${{ github.repository }}!
|
|
🚀 Build started for ${{ github.repository }}!
|
|
|
📦 *Repository:* [${{ github.repository }}](https://github.com/${{ github.repository }})
|
|
📦 *Repository:* [${{ github.repository }}](https://github.com/${{ github.repository }})
|
|
|
🗂️ *Branch:* ${{ github.ref_name }}
|
|
🗂️ *Branch:* ${{ github.ref_name }}
|
|
@@ -293,13 +293,13 @@ jobs:
|
|
|
|
|
|
|
|
- name: Send Telegram Notification
|
|
- name: Send Telegram Notification
|
|
|
run: |
|
|
run: |
|
|
|
- curl -s -X POST "https://api.telegram.org/bot${{ secrets.TELEGRAM_BOT_TOKEN }}/sendDocument" \
|
|
|
|
|
|
|
+ curl -X POST "https://api.telegram.org/bot${{ secrets.TELEGRAM_BOT_TOKEN }}/sendMessage" \
|
|
|
-F chat_id="${{ secrets.TELEGRAM_CHAT_ID }}" \
|
|
-F chat_id="${{ secrets.TELEGRAM_CHAT_ID }}" \
|
|
|
-F message_thread_id="${{ secrets.TELEGRAM_MESSAGE_THREAD_ID }}" \
|
|
-F message_thread_id="${{ secrets.TELEGRAM_MESSAGE_THREAD_ID }}" \
|
|
|
- -F caption="
|
|
|
|
|
- 🌽 *New Stable Kernel Release Uploaded*
|
|
|
|
|
- 📦 *Repository:* [${{ github.repository }}](https://github.com/${{ github.repository }})
|
|
|
|
|
- 🗂️ *Branch:* ${{ github.ref_name }}
|
|
|
|
|
- ✏️ *Commit:* [${{ github.sha }}](https://github.com/${{ github.repository }}/commit/${{ github.sha }})
|
|
|
|
|
- [🔗 View GitHub Release](https://github.com/${{ github.repository }}//releases/tag/${{ env.NEW_TAG }})" \
|
|
|
|
|
|
|
+ -F text="
|
|
|
|
|
+ 🌽 *New Stable Kernel Release Uploaded*
|
|
|
|
|
+ 📦 *Repository:* [${{ github.repository }}](https://github.com/${{ github.repository }})
|
|
|
|
|
+ 🗂️ *Branch:* ${{ github.ref_name }}
|
|
|
|
|
+ ✏️ *Commit:* [${{ github.sha }}](https://github.com/${{ github.repository }}/commit/${{ github.sha }})
|
|
|
|
|
+ [🔗 View GitHub Release](https://github.com/${{ github.repository }}/releases/tag/${{ env.NEW_TAG }})" \
|
|
|
-F parse_mode="Markdown"
|
|
-F parse_mode="Markdown"
|