Cash Out Refinance

I took a cash-out refinance in 2020 and used part of the cash out for home improvement (new doors).  Because the loan processing took longer than originally scheduled I needed to borrow the money to pay for the doors and then pay the person back when the refinance came through later.

Would I still be able to deduct the interest on the portion used for home improvement under these circumstances?