From 82f08879c548b937ee5e4f41202c003b4aaf5a99 Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Wed, 25 Sep 2019 21:22:36 +0800 Subject: [PATCH] docs: add location message --- README.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 092675c..e2d5eb4 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,19 @@ Remove `args` to send the default message. ![workflow](./images/telegram-workflow.png) -## Environment variables +send location message: + +```yml +- name: send location message + uses: appleboy/telegram-action@master + with: + location: '24.9163213,121.1424972' + env: + TELEGRAM_TOKEN: ${{ secrets.TELEGRAM_TOKEN }} + TELEGRAM_TO: ${{ secrets.TELEGRAM_TO }} +``` + +## Input variables * photo - optional. photo message * document - optional. document message