Test action-send-telegram #6
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: Test action-send-telegram | |
on: | |
workflow_dispatch: | |
inputs: | |
message: | |
description: 'Message to send to a Telegram user or group' | |
required: true | |
type: string | |
jobs: | |
send-message: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Send a message to a Telegram user or group | |
id: sendMessage | |
uses: p4irin/action-send-telegram@v1 | |
with: | |
telegram-bot-token: ${{ secrets.TELEGRAM_BOT_TOKEN }} | |
telegram-chat-id: ${{ secrets.TELEGRAM_CHAT_ID }} | |
message: ${{ inputs.message }} |