Only build master branches and clean up before pushing to server