don't delete everything
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing

This commit is contained in:
Elizabeth Hunt 2024-03-09 14:28:29 -07:00
parent 151c0d0ce0
commit 0d63a70d35
Signed by: simponic
GPG Key ID: 52B3774857EB24B1

View File

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