add logs, parse before script
This commit is contained in:
@@ -81,11 +81,11 @@ runs:
|
||||
if [[ "$STATUS" != '' ]]; then
|
||||
STATUS="$STATUS "
|
||||
fi
|
||||
echo $STATUS
|
||||
CAPTION="$STATUS${{ inputs.caption }}"
|
||||
echo $CAPTION
|
||||
echo "$CAPTION${{ inputs.message }}"
|
||||
sendMessage "${{ inputs.bot_token }}" ${{ inputs.chat_id }} "$CAPTION${{ inputs.message }}" "${{ inputs.button_title }}" "$button_url"
|
||||
echo "Caption: $CAPTION"
|
||||
PARSED_TEXT=$(printf "%b" "$CAPTION${{ inputs.message }}")
|
||||
echo "PARSED_TEXT: $PARSED_TEXT"
|
||||
sendMessage "${{ inputs.bot_token }}" ${{ inputs.chat_id }} "$PARSED_TEXT" "${{ inputs.button_title }}" "$button_url"
|
||||
shell: bash
|
||||
|
||||
- name: Delete message
|
||||
|
||||
Reference in New Issue
Block a user