summaryrefslogtreecommitdiff
path: root/release/deploy-telegram.sh
diff options
context:
space:
mode:
authorHarsh Shandilya <msfjarvis@gmail.com>2020-07-03 10:33:17 +0530
committerGitHub <noreply@github.com>2020-07-03 07:03:17 +0200
commitff3d2fcce3f1d74bdb1e13e3634f1ea9a9f9f1e5 (patch)
treee93a9e60223020c47c0eaf397bc30f1e59db3ea9 /release/deploy-telegram.sh
parent9fb492b572d7807450f0752c6222fe0e246acea9 (diff)
release: script improvements (#915)
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Diffstat (limited to 'release/deploy-telegram.sh')
-rwxr-xr-xrelease/deploy-telegram.sh13
1 files changed, 0 insertions, 13 deletions
diff --git a/release/deploy-telegram.sh b/release/deploy-telegram.sh
deleted file mode 100755
index 79ae9458..00000000
--- a/release/deploy-telegram.sh
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/usr/bin/env bash
-
-function send_to_tg() {
- local FILE
- local CHAT_ID
- local CAPTION
- FILE="${1}"
- CHAT_ID="${2}"
- CAPTION="${3}"
- curl -F chat_id="${CHAT_ID}" -F document="@${FILE}" -F caption="${CAPTION}" -F parse_mode="Markdown" "https://api.telegram.org/bot${TG_TOKEN:?}/sendDocument" >/dev/null 2>&1
-}
-
-send_to_tg "${TG_FILE:?}" "${TG_TO:?}" "aps-${GITHUB_RUN_NUMBER}-debug"