Should I continue to work on a project I'm less interested in for publications?
Continue with your current focus, publish as much as possible for the next 1-2 years, and once you are more established with publications under your belt, pursue your passion subject full-time. It's best to view your current research focus as a "day-job", meanwhile developing your skills and reputation which will strengthen your ability to pursue the topics you find interesting.