From e326eebb775c4862bc007945716a76ca9bfb5808 Mon Sep 17 00:00:00 2001 From: Nabeel Shahzad Date: Thu, 4 Jan 2018 21:55:56 -0600 Subject: [PATCH] escape string --- .travis/deploy_script.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.travis/deploy_script.sh b/.travis/deploy_script.sh index c00c0e96..3fec086b 100755 --- a/.travis/deploy_script.sh +++ b/.travis/deploy_script.sh @@ -52,9 +52,6 @@ if [ "$TRAVIS" = "true" ]; then echo "running rsync" rsync -ahP --delete-after /tmp/$TAR_NAME downloads@phpvms.net:/var/www/downloads/ - export $TAR_NAME - export $VERSION - - curl -X POST --data '{"content": "A new build is available at http://phpvms.net/downloads/$TAR_NAME ($VERSION)"}' -H "Content-Type: application/json" $DISCORD_WEBHOOK_URL + curl -X POST --data "{\"content\": \"A new build is available at http://phpvms.net/downloads/$TAR_NAME ($VERSION)\"}" -H "Content-Type: application/json" $DISCORD_WEBHOOK_URL fi