Skip to content

Commit

Permalink
Merge pull request #34 from PhilippMundhenk/pedropombeiro/improve-tel…
Browse files Browse the repository at this point in the history
…egram-message

Make Telegram message match inotify message
  • Loading branch information
vgarcia007 authored Sep 23, 2024
2 parents c08a292 + fe11cb7 commit c4b30bd
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 c4b30bd

Please sign in to comment.