Doris Day's musical western Calamity Jane (1953) was primarily shot on the Warner Bros. Ranch in Burbank, California—a vast backlot dressed as 1870s Deadwood.
~90% of the film (interiors, saloon, dance numbers, street scenes) was studio-bound on the Ranch. The location work provided visual credibility for the frontier setting without the cost/risks of full on-location production.
The Ranch (now part of Warner Bros. Studios lot) hosted countless westerns; its "Deadwood" standing set was reused for decades.