mirror of
https://github.com/appleboy/telegram-action.git
synced 2026-05-31 08:37:54 +00:00
fix: check empty
This commit is contained in:
+2
-1
@@ -2,7 +2,8 @@
|
|||||||
|
|
||||||
set -eu
|
set -eu
|
||||||
|
|
||||||
export TELEGRAM_MESSAGE="$*"
|
|
||||||
export GITHUB="true"
|
export GITHUB="true"
|
||||||
|
|
||||||
|
[ -n "$*" ] && export TELEGRAM_MESSAGE="$*"
|
||||||
|
|
||||||
/bin/drone-telegram
|
/bin/drone-telegram
|
||||||
|
|||||||
Reference in New Issue
Block a user