mirror of
https://github.com/appleboy/telegram-action.git
synced 2026-05-14 02:42:44 +00:00
-11
@@ -1,16 +1,5 @@
|
|||||||
FROM appleboy/drone-telegram:1.4.2-linux-amd64
|
FROM appleboy/drone-telegram:1.4.2-linux-amd64
|
||||||
|
|
||||||
# Github labels
|
|
||||||
LABEL "com.github.actions.name"="Telegram Notify"
|
|
||||||
LABEL "com.github.actions.description"="Sending a Telegram message"
|
|
||||||
LABEL "com.github.actions.icon"="message-square"
|
|
||||||
LABEL "com.github.actions.color"="blue"
|
|
||||||
|
|
||||||
LABEL "repository"="https://github.com/appleboy/telegram-action"
|
|
||||||
LABEL "homepage"="https://github.com/appleboy"
|
|
||||||
LABEL "maintainer"="Bo-Yi Wu <appleboy.tw@gmail.com>"
|
|
||||||
LABEL "version"="0.0.2"
|
|
||||||
|
|
||||||
ADD entrypoint.sh /entrypoint.sh
|
ADD entrypoint.sh /entrypoint.sh
|
||||||
RUN chmod +x /entrypoint.sh
|
RUN chmod +x /entrypoint.sh
|
||||||
ENTRYPOINT ["/entrypoint.sh"]
|
ENTRYPOINT ["/entrypoint.sh"]
|
||||||
|
|||||||
@@ -35,16 +35,16 @@ action "Send Default Message" {
|
|||||||
|
|
||||||
## Environment variables
|
## Environment variables
|
||||||
|
|
||||||
* PHOTO - Optional. photo message
|
* photo - optional. photo message
|
||||||
* DOCUMENT - Optional. document message
|
* document - optional. document message
|
||||||
* STICKER - Optional. sticker message
|
* sticker - optional. sticker message
|
||||||
* AUDIO - Optional. audio message
|
* audio - optional. audio message
|
||||||
* VOICE - Optional. voice message
|
* voice - optional. voice message
|
||||||
* LOCATION - Optional. location message
|
* location - optional. location message
|
||||||
* VENUE - Optional. venue message
|
* venue - optional. venue message
|
||||||
* VIDEO - Optional. video message
|
* video - optional. video message
|
||||||
* DEBUG - Optional. enable debug mode
|
* debug - optional. enable debug mode
|
||||||
* FORMAT - Optional. `markdown` or `html`
|
* format - optional. `markdown` or `html`
|
||||||
|
|
||||||
### Example
|
### Example
|
||||||
|
|
||||||
|
|||||||
+31
@@ -0,0 +1,31 @@
|
|||||||
|
name: 'Telegram Message Notify'
|
||||||
|
description: 'Sending a Telegram message'
|
||||||
|
author: 'Bo-Yi Wu'
|
||||||
|
inputs:
|
||||||
|
photo:
|
||||||
|
description: 'send the photo message.'
|
||||||
|
document:
|
||||||
|
description: 'send the document message.'
|
||||||
|
sticker:
|
||||||
|
description: 'send the sticker message.'
|
||||||
|
audio:
|
||||||
|
description: 'send the audio message.'
|
||||||
|
voice:
|
||||||
|
description: 'send the voice message.'
|
||||||
|
location:
|
||||||
|
description: 'send the location message.'
|
||||||
|
venue:
|
||||||
|
description: 'send the venue message.'
|
||||||
|
video:
|
||||||
|
description: 'send the video message.'
|
||||||
|
debug:
|
||||||
|
description: 'enable debug mode.'
|
||||||
|
format:
|
||||||
|
description: 'message format: markdown or html'
|
||||||
|
runs:
|
||||||
|
using: 'docker'
|
||||||
|
image: 'Dockerfile'
|
||||||
|
|
||||||
|
branding:
|
||||||
|
icon: 'message-square'
|
||||||
|
color: 'blue'
|
||||||
Reference in New Issue
Block a user