How do I update django/wagtail site changes ?

Hi, I was testing my site, after first deployment, I created a few pages and added a little media.
I needed to add one more template so, I added that in my code base and deployed again.
It is listed now in the admin but I can’t add any pages to it, it shows 404. Additionally the media is gone completely.
Does multiple deploys cause this problem??