mirror of
https://github.com/w23/xash3d-fwgs
synced 2024-12-15 21:50:59 +01:00
8 lines
213 B
Bash
8 lines
213 B
Bash
FOLDER_NAME=$DEPLOY_BRANCH-$TRAVIS_BRANCH
|
|
WEBDAV_SRV=https://$YANDEX_DISK_USER:$YANDEX_DISK_TOKEN@webdav.yandex.ru
|
|
|
|
for file in $*; do
|
|
echo "Uploading $file..."
|
|
curl -T $file $WEBDAV_SRV/$FOLDER_NAME/$file
|
|
done
|