Dad decided he doesn't want to be part of outer life

Jeanie • First time mom, Due September 2nd,
In 27 weeks pregant and this weekend he officialy decided he doesn't want anything to do with me, but even worse with his own daughter. He decided he wanted a baby knowing I wanted one, and I jumped on bored when he said that.so we got pregnant after months of trying, Now he changed his mind and I don't know what to do or how to feel I don't want to be sad and depressed and for her to feel my sadness, he thinks he can just push us out of his life and go back to his life without any responsibilitys. The thing is I will have to move across the country to live with my mom for support. Dr. Diagnosed me with major depression disorder. I'm tired of crying. Sorry for the rant