Skip to content

Commit

Permalink
actions: fix quoting on the 3rd try
Browse files Browse the repository at this point in the history
  • Loading branch information
Bravo555 authored Sep 23, 2023
1 parent bb9c190 commit ac3e2b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
OLD_COMMIT_SHA: ${{ github.event.before }}
run: |
msg=$(git log --no-decorate ${OLD_COMMIT_SHA}..)
curl https://discord.com/api/channels/${CHANNEL_ID}/messages -H "Authorization: Bot ${DISCORD_TOKEN}" -X POST -H "Content-Type: application/json" -d '{"content": "Deploying new version of the bot...\nNew changes:\n\n$msg"}'
curl https://discord.com/api/channels/${CHANNEL_ID}/messages -H "Authorization: Bot ${DISCORD_TOKEN}" -X POST -H "Content-Type: application/json" -d '{"content": "Deploying new version of the bot...\nNew changes:\n\n' "$msg\"}"
- name: Fetch the binary
uses: actions/download-artifact@v2
Expand Down

0 comments on commit ac3e2b8

Please sign in to comment.