2
0
mirror of https://github.com/FWGS/xash3d-fwgs synced 2025-01-15 21:09:55 +01:00

scripts: travis: fix upload to yadisk

This commit is contained in:
Alibek Omarov 2019-03-29 23:48:34 +03:00
parent 5436658ce7
commit 50c656df94

View File

@ -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