I am not sure I completely understand what this would look like from the description, but I have git-based deployment using Heroku. Features are developed in off-master branches, and then when you push to master, Heroku compiles from that and runs it in production. I like it.