build(ghcr_deploy.yml): fix curl command

This commit is contained in:
Krrish Dholakia 2024-07-06 17:54:55 -07:00
parent 1193ee8803
commit d2a8c7fc25

View file

@ -302,14 +302,15 @@ jobs:
RELEASE_NOTES: ${{ steps.release-notes.outputs.result }} RELEASE_NOTES: ${{ steps.release-notes.outputs.result }}
run: | run: |
curl -H "Content-Type: application/json" -X POST -d '{ curl -H "Content-Type: application/json" -X POST -d '{
"content": "New LiteLLM release ${{ env.RELEASE_TAG }}", "content": "New LiteLLM release '"${RELEASE_TAG}"'",
"username": "Release Changelog", "username": "Release Changelog",
"avatar_url": "https://cdn.discordapp.com/avatars/487431320314576937/bd64361e4ba6313d561d54e78c9e7171.png", "avatar_url": "https://cdn.discordapp.com/avatars/487431320314576937/bd64361e4ba6313d561d54e78c9e7171.png",
"embeds": [ "embeds": [
{ {
"title": "Changelog for LiteLLM ${{ env.RELEASE_TAG }}", "title": "Changelog for LiteLLM '"${RELEASE_TAG}"'",
"description": "${{ env.RELEASE_NOTES }}", "description": "'"${RELEASE_NOTES}"'",
"color": 2105893 "color": 2105893
} }
] ]
}' $WEBHOOK_URL }' $WEBHOOK_URL