mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-01 04:02:04 +08:00
set progress on deploy script to avoid timeouts
This commit is contained in:
parent
1bd22994e9
commit
3ad231a366
@ -29,7 +29,8 @@ if [ -s $KEY ]; then
|
|||||||
for i in $FILES; do
|
for i in $FILES; do
|
||||||
filepath=$i # this is expected to be an absolute path
|
filepath=$i # this is expected to be an absolute path
|
||||||
tmpfile=$(mktemp)
|
tmpfile=$(mktemp)
|
||||||
echo put $filepath > $tmpfile
|
echo progress > $tmpfile
|
||||||
|
echo put $filepath >> $tmpfile
|
||||||
|
|
||||||
sftp -b $tmpfile -i$KEY "${UPLOAD_USER}@dl.slic3r.org:$DIR/"
|
sftp -b $tmpfile -i$KEY "${UPLOAD_USER}@dl.slic3r.org:$DIR/"
|
||||||
result=$?
|
result=$?
|
||||||
@ -37,6 +38,7 @@ if [ -s $KEY ]; then
|
|||||||
echo "Error with SFTP"
|
echo "Error with SFTP"
|
||||||
exit $result;
|
exit $result;
|
||||||
fi
|
fi
|
||||||
|
rm $tmpfile
|
||||||
done
|
done
|
||||||
else
|
else
|
||||||
echo "$KEY is not available, not deploying."
|
echo "$KEY is not available, not deploying."
|
||||||
|
Loading…
x
Reference in New Issue
Block a user