escape string
This commit is contained in:
parent
fe7278c3b7
commit
e326eebb77
@ -52,9 +52,6 @@ if [ "$TRAVIS" = "true" ]; then
|
|||||||
echo "running rsync"
|
echo "running rsync"
|
||||||
rsync -ahP --delete-after /tmp/$TAR_NAME downloads@phpvms.net:/var/www/downloads/
|
rsync -ahP --delete-after /tmp/$TAR_NAME downloads@phpvms.net:/var/www/downloads/
|
||||||
|
|
||||||
export $TAR_NAME
|
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
|
||||||
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
|
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user