Skip to content

Commit

Permalink
Make Telegram message match inotify message
Browse files Browse the repository at this point in the history
  • Loading branch information
pedropombeiro committed Sep 22, 2024
1 parent c08a292 commit fe11cb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/trigger_telegram.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Check if TELEGRAM_TOKEN and TELEGRAM_CHATID are both set
if [ -z "${TELEGRAM_TOKEN}" ] || [ -z "${TELEGRAM_CHATID}" ]; then
echo "TELEGRAM_TOKEN or TELEGRAM_CHATID is not set"
echo "TELEGRAM_TOKEN or TELEGRAM_CHATID environment variables not set, skipping Telegram trigger."
else
# Use the environment variables TELEGRAM_TOKEN and TELEGRAM_CHATID
TOKEN="$TELEGRAM_TOKEN"
Expand Down

0 comments on commit fe11cb7

Please sign in to comment.