Skip to content

Commit

Permalink
Updated message parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
StrahinjaJacimovic committed Oct 3, 2024
1 parent cd03585 commit 24f5b16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/notify.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ jobs:
env:
MATTERMOST_WEBHOOK_URL: ${{ secrets.MATTERMOST_WEBHOOK_URL }}
run: |
MESSAGE=$(cat message.txt)
MESSAGE=$(cat message.txt | jq -Rs .)
curl -X POST -H 'Content-Type: application/json' \
--data "{\"text\": \"$MESSAGE\"}" \
--data "{\"text\": $MESSAGE}" \
$MATTERMOST_WEBHOOK_URL
- name: Build Boards/Cards Message with Python
Expand Down

0 comments on commit 24f5b16

Please sign in to comment.