Browse Source

scripts: travis: fix upload to yadisk

pull/2/head
Alibek Omarov 6 years ago
parent
commit
50c656df94
  1. 3
      scripts/yadisk_upload.sh

3
scripts/yadisk_upload.sh

@ -2,5 +2,6 @@ FOLDER_NAME=$DEPLOY_BRANCH-$TRAVIS_BRANCH @@ -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

Loading…
Cancel
Save