Drain the tank and filter replace with fresh diesel and some 2 cycle oil.
Start the truck and use it the way you have in the past.
Gasoline will not damage the engine,if the gas concentration gets to high the engine will stop running because it wasn't designed to run on gas.
About the only damage that could happen would be to the pumps and injectors from the gas being very dry.But for the short amount of time the gas would have been in the system,don't worry about it.