Mise à jour de 'notify.sh'

WORK-DDA
David D'ALMEIDA 2 years ago
parent 55beea56d0
commit 3d31abede6

@ -5,7 +5,7 @@ changelog="$(base64 -w 0 CHANGELOG)"
# This call sends a message to the given recipient with vars and custom vars. # This call sends a message to the given recipient with vars and custom vars.
curl -s \ curl -s \
-X POST \ -X POST \
--user "46cb7f286b30df20369be709a91424a9:957e3ac14b3b106331ccd9dfe07f67fd" \ --user ":" \
https://api.mailjet.com/v3.1/send \ https://api.mailjet.com/v3.1/send \
-H 'Content-Type: application/json' \ -H 'Content-Type: application/json' \
-d '{ "Messages":[ { "From": { "Email": "contact@lamsterpilotage.fr", "Name": "Equipe de développement" }, "To": [ { { "Email": "equipedev@waveheart.fr", "Name": "dev" } ], "TemplateID": 2687222, "TemplateLanguage": true, "Subject": "Nouvelle version démo", "Variables": {}, "Attachments": [ { "ContentType": "text/plain", "Filename": "changelog.md", "Base64Content": "'"$changelog"'" } ] } ] }' -d '{ "Messages":[ { "From": { "Email": "contactHeartTrack@gmail.com", "Name": "Equipe de développement" }, "To": [ { { "Email": "equipedev@waveheart.fr", "Name": "dev" } ], "TemplateID": 0000, "TemplateLanguage": true, "Subject": "Nouvelle version démo", "Variables": {}, "Attachments": [ { "ContentType": "text/plain", "Filename": "changelog.md", "Base64Content": "'"$changelog"'" } ] } ] }'
Loading…
Cancel
Save