test with variable

This commit is contained in:
Kirill Chikalin
2025-06-02 08:27:43 +03:00
parent e7a5755848
commit 3c121c1f2e

View File

@@ -83,7 +83,8 @@ runs:
fi
CAPTION="$STATUS${{ inputs.caption }}"
echo "Caption: $CAPTION"
PARSED_TEXT=$(echo -e "$CAPTION${{ inputs.message }}")
message=${{ inputs.message }}
PARSED_TEXT=$(echo -e "$CAPTION$message")
echo "PARSED_TEXT: $PARSED_TEXT"
sendMessage "${{ inputs.bot_token }}" ${{ inputs.chat_id }} "$PARSED_TEXT" "${{ inputs.button_title }}" "$button_url"
shell: bash