fix deployment path

This commit is contained in:
Nabeel Shahzad
2018-01-16 23:52:06 -05:00
parent e19491b787
commit 282bedf4d4
2 changed files with 33 additions and 1 deletions

View File

@@ -53,7 +53,7 @@ if [ "$TRAVIS" = "true" ]; then
#git archive --format=tar.gz --prefix=phpvms/ --output=test.tar.gz HEAD
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/phpvms/downloads/
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