Four fire engines were called to a fire inside a building on Retford Road in Woodhouse Mill, Rotherham at 3am on Wednesday morning.
Fire crews from Aston, Parkway and Birley Moor stations attended the incident. A large skip was on fire on the back of a lorry which was inside a warehouse type building.
Firefighters wearing breathing apparatus used main jets to bring the fire under control.
The fire crews left the scene at 5:15am.
The fire is believed to have started accidentally.