don't delete everything
This commit is contained in:
parent
151c0d0ce0
commit
0d63a70d35
@ -8,7 +8,7 @@ chmod -R 0600 /tmp/key
|
|||||||
for item in dist/*; do
|
for item in dist/*; do
|
||||||
echo "copying $i"
|
echo "copying $i"
|
||||||
ITEM_NAME=$(basename $item)
|
ITEM_NAME=$(basename $item)
|
||||||
rsync -e "ssh -i /tmp/key -o StrictHostKeyChecking=no" -avz --delete $item $RSYNC_DESTINATION/tst/$ITEM_NAME
|
rsync -e "ssh -i /tmp/key -o StrictHostKeyChecking=no" -avz --delete $item $RSYNC_DESTINATION/$ITEM_NAME
|
||||||
done
|
done
|
||||||
echo "finished copying to remote host..."
|
echo "finished copying to remote host..."
|
||||||
cd ..
|
cd ..
|
||||||
|
Loading…
Reference in New Issue
Block a user