A fire crew from Scarborough was called to the fire, on an embankment at Deepdale Avenue, at 10pm yesterday.
When they arrived and saw the extent of the blaze, they called for backup from crews from Sherburn, Robin Hood's Bay and Filey, a fire service spokeswoman said.
The firefighters spent five hours battling the flames, eventually extinguishing the fire at 3am today.
Crews have also had to revisit the scene this morning to continue damping down the area.