From 50c656df9400cc2cb0325cbf5c0ebfb873574690 Mon Sep 17 00:00:00 2001
From: Alibek Omarov <a1ba.omarov@gmail.com>
Date: Fri, 29 Mar 2019 23:48:34 +0300
Subject: [PATCH] scripts: travis: fix upload to yadisk

---
 scripts/yadisk_upload.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/scripts/yadisk_upload.sh b/scripts/yadisk_upload.sh
index b4d72dc1..4d4c6d88 100644
--- a/scripts/yadisk_upload.sh
+++ b/scripts/yadisk_upload.sh
@@ -2,5 +2,6 @@ FOLDER_NAME=$DEPLOY_BRANCH-$TRAVIS_BRANCH
 WEBDAV_SRV=https://$YANDEX_DISK_USER:$YANDEX_DISK_TOKEN@webdav.yandex.ru
 
 for file in $*; do
-	curl -T $file $WEBDAV_SRV/$FOLDER_NAME
+	echo "Uploading $file..."
+	curl -T $file $WEBDAV_SRV/$FOLDER_NAME/$file
 done