mirror of
https://github.com/appleboy/telegram-action.git
synced 2026-10-09 04:30:43 +09:00
docs: add custom message
This commit is contained in:
@@ -74,6 +74,20 @@ send location message:
|
|||||||
TELEGRAM_TO: ${{ secrets.TELEGRAM_TO }}
|
TELEGRAM_TO: ${{ secrets.TELEGRAM_TO }}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
send custom message:
|
||||||
|
|
||||||
|
```yml
|
||||||
|
- name: send custom message
|
||||||
|
uses: appleboy/telegram-action@master
|
||||||
|
env:
|
||||||
|
TELEGRAM_TOKEN: ${{ secrets.TELEGRAM_TOKEN }}
|
||||||
|
TELEGRAM_TO: ${{ secrets.TELEGRAM_TO }}
|
||||||
|
with:
|
||||||
|
message: |
|
||||||
|
The ${{ github.event_name }} event triggered final step.
|
||||||
|
echo This event is a pull request that had an assignee removed.
|
||||||
|
```
|
||||||
|
|
||||||
## Secrets
|
## Secrets
|
||||||
|
|
||||||
Getting started with [Telegram Bot API](https://core.telegram.org/bots/api).
|
Getting started with [Telegram Bot API](https://core.telegram.org/bots/api).
|
||||||
|
|||||||
Reference in New Issue
Block a user