What did Gideon make that all of Israel went a whoring after?

A gold ephod

Gideon made the ephod from 1700 shekels (~20 kilograms) of gold earings.
Gideon made an ephod thereof, and put it in his city, even in Ophrah: and all Israel went thither a whoring after it. Judges 8:27