How to update WordPress files on Heroku?

I successfully deployed a WordPress website on Heroku.
Here is what I did:

  1. Download wordpress
  2. Push all file on a Github repository
  3. Create Heroku app
  4. Link Heroku app to Github repository
  5. Create clearDB database and update to wordpress config file
  6. Deploy

Everythings is working fine. But whenever I update a file on the github repository and re deploy the heroku app, all user generated content are getting overwritten such as plugins and media contents.

How can I update my wordpress source code without losing any content?

Read more here: How to update WordPress files on Heroku?

Leave a Reply

Your email address will not be published. Required fields are marked *