Where to put 26k for 6 months

I ordered a new work truck but it won’t be here for approximately 6 months. I have 26k to put down on it currently but wondering if I can put it somewhere to build interest in the meantime. (Okay with moderate risk) I am planning on financing the rest till I get everything swapped over from my current work truck and then once the old work truck is sold, I should be able to pay off the new work truck. Also considering putting it in the stock market? Looking for advice on where to put it

Edit: I understand investing for only 6 months is risky and I may lose a chunk, hence I don’t mind the risk