mirror of
https://github.com/appleboy/telegram-action.git
synced 2026-10-09 04:30:43 +09:00
docs(readme): reference the floating v1 tag in examples
This commit is contained in:
@@ -24,7 +24,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: send telegram message on push
|
- name: send telegram message on push
|
||||||
uses: appleboy/telegram-action@v1.1.1
|
uses: appleboy/telegram-action@v1
|
||||||
with:
|
with:
|
||||||
to: ${{ secrets.TELEGRAM_TO }}
|
to: ${{ secrets.TELEGRAM_TO }}
|
||||||
token: ${{ secrets.TELEGRAM_TOKEN }}
|
token: ${{ secrets.TELEGRAM_TOKEN }}
|
||||||
@@ -41,7 +41,7 @@ Remove the `message` input to send the default message.
|
|||||||
|
|
||||||
```yml
|
```yml
|
||||||
- name: send default message
|
- name: send default message
|
||||||
uses: appleboy/telegram-action@v1.1.1
|
uses: appleboy/telegram-action@v1
|
||||||
with:
|
with:
|
||||||
to: ${{ secrets.TELEGRAM_TO }}
|
to: ${{ secrets.TELEGRAM_TO }}
|
||||||
token: ${{ secrets.TELEGRAM_TOKEN }}
|
token: ${{ secrets.TELEGRAM_TOKEN }}
|
||||||
@@ -79,7 +79,7 @@ Send photo message:
|
|||||||
```yml
|
```yml
|
||||||
- uses: actions/checkout@v7
|
- uses: actions/checkout@v7
|
||||||
- name: send photo message
|
- name: send photo message
|
||||||
uses: appleboy/telegram-action@v1.1.1
|
uses: appleboy/telegram-action@v1
|
||||||
with:
|
with:
|
||||||
to: ${{ secrets.TELEGRAM_TO }}
|
to: ${{ secrets.TELEGRAM_TO }}
|
||||||
token: ${{ secrets.TELEGRAM_TOKEN }}
|
token: ${{ secrets.TELEGRAM_TOKEN }}
|
||||||
@@ -92,7 +92,7 @@ Send location message:
|
|||||||
|
|
||||||
```yml
|
```yml
|
||||||
- name: send location message
|
- name: send location message
|
||||||
uses: appleboy/telegram-action@v1.1.1
|
uses: appleboy/telegram-action@v1
|
||||||
with:
|
with:
|
||||||
to: ${{ secrets.TELEGRAM_TO }}
|
to: ${{ secrets.TELEGRAM_TO }}
|
||||||
token: ${{ secrets.TELEGRAM_TOKEN }}
|
token: ${{ secrets.TELEGRAM_TOKEN }}
|
||||||
@@ -104,7 +104,7 @@ Send a message to a specific forum topic (thread):
|
|||||||
|
|
||||||
```yml
|
```yml
|
||||||
- name: send message to forum topic
|
- name: send message to forum topic
|
||||||
uses: appleboy/telegram-action@v1.1.1
|
uses: appleboy/telegram-action@v1
|
||||||
with:
|
with:
|
||||||
to: ${{ secrets.TELEGRAM_TO }}
|
to: ${{ secrets.TELEGRAM_TO }}
|
||||||
token: ${{ secrets.TELEGRAM_TOKEN }}
|
token: ${{ secrets.TELEGRAM_TOKEN }}
|
||||||
@@ -116,7 +116,7 @@ Send message using custom proxy (support `http`, `https`, and `socks5`) like `so
|
|||||||
|
|
||||||
```yml
|
```yml
|
||||||
- name: send message using socks5 proxy URL
|
- name: send message using socks5 proxy URL
|
||||||
uses: appleboy/telegram-action@v1.1.1
|
uses: appleboy/telegram-action@v1
|
||||||
with:
|
with:
|
||||||
to: ${{ secrets.TELEGRAM_TO }}
|
to: ${{ secrets.TELEGRAM_TO }}
|
||||||
token: ${{ secrets.TELEGRAM_TOKEN }}
|
token: ${{ secrets.TELEGRAM_TOKEN }}
|
||||||
|
|||||||
+3
-3
@@ -42,7 +42,7 @@
|
|||||||
```yml
|
```yml
|
||||||
- uses: actions/checkout@v7
|
- uses: actions/checkout@v7
|
||||||
- name: send photo message
|
- name: send photo message
|
||||||
uses: appleboy/telegram-action@v1.1.1
|
uses: appleboy/telegram-action@v1
|
||||||
with:
|
with:
|
||||||
to: ${{ secrets.TELEGRAM_TO }}
|
to: ${{ secrets.TELEGRAM_TO }}
|
||||||
token: ${{ secrets.TELEGRAM_TOKEN }}
|
token: ${{ secrets.TELEGRAM_TOKEN }}
|
||||||
@@ -55,7 +55,7 @@
|
|||||||
|
|
||||||
```yml
|
```yml
|
||||||
- name: send location message
|
- name: send location message
|
||||||
uses: appleboy/telegram-action@v1.1.1
|
uses: appleboy/telegram-action@v1
|
||||||
with:
|
with:
|
||||||
to: ${{ secrets.TELEGRAM_TO }}
|
to: ${{ secrets.TELEGRAM_TO }}
|
||||||
token: ${{ secrets.TELEGRAM_TOKEN }}
|
token: ${{ secrets.TELEGRAM_TOKEN }}
|
||||||
@@ -67,7 +67,7 @@
|
|||||||
|
|
||||||
```yml
|
```yml
|
||||||
- name: send message using socks5 proxy URL
|
- name: send message using socks5 proxy URL
|
||||||
uses: appleboy/telegram-action@v1.1.1
|
uses: appleboy/telegram-action@v1
|
||||||
with:
|
with:
|
||||||
to: ${{ secrets.TELEGRAM_TO }}
|
to: ${{ secrets.TELEGRAM_TO }}
|
||||||
token: ${{ secrets.TELEGRAM_TOKEN }}
|
token: ${{ secrets.TELEGRAM_TOKEN }}
|
||||||
|
|||||||
+3
-3
@@ -42,7 +42,7 @@
|
|||||||
```yml
|
```yml
|
||||||
- uses: actions/checkout@v7
|
- uses: actions/checkout@v7
|
||||||
- name: send photo message
|
- name: send photo message
|
||||||
uses: appleboy/telegram-action@v1.1.1
|
uses: appleboy/telegram-action@v1
|
||||||
with:
|
with:
|
||||||
to: ${{ secrets.TELEGRAM_TO }}
|
to: ${{ secrets.TELEGRAM_TO }}
|
||||||
token: ${{ secrets.TELEGRAM_TOKEN }}
|
token: ${{ secrets.TELEGRAM_TOKEN }}
|
||||||
@@ -55,7 +55,7 @@
|
|||||||
|
|
||||||
```yml
|
```yml
|
||||||
- name: send location message
|
- name: send location message
|
||||||
uses: appleboy/telegram-action@v1.1.1
|
uses: appleboy/telegram-action@v1
|
||||||
with:
|
with:
|
||||||
to: ${{ secrets.TELEGRAM_TO }}
|
to: ${{ secrets.TELEGRAM_TO }}
|
||||||
token: ${{ secrets.TELEGRAM_TOKEN }}
|
token: ${{ secrets.TELEGRAM_TOKEN }}
|
||||||
@@ -67,7 +67,7 @@
|
|||||||
|
|
||||||
```yml
|
```yml
|
||||||
- name: send message using socks5 proxy URL
|
- name: send message using socks5 proxy URL
|
||||||
uses: appleboy/telegram-action@v1.1.1
|
uses: appleboy/telegram-action@v1
|
||||||
with:
|
with:
|
||||||
to: ${{ secrets.TELEGRAM_TO }}
|
to: ${{ secrets.TELEGRAM_TO }}
|
||||||
token: ${{ secrets.TELEGRAM_TOKEN }}
|
token: ${{ secrets.TELEGRAM_TOKEN }}
|
||||||
|
|||||||
Reference in New Issue
Block a user