General workflow questions

I’m newer to ansible and wanted to ask a couple general workflow questions with trellis.

I have an azure VM running ubuntu I want to deploy to.

  1. If I have been developing and storing my sourcecode for the entire project (ansible subdirectory and site subdirectory) in one github repo, do I need a separate github repo that just tracks the deployments that I configure in wordpress_sites.yml?

  2. When I deploy for the first time to staging/production, I’m guessing ansible will setup the environment for me. If I want content changes I’ve made in dev to make it to production, are those backwards only (I have to make them in prod first and find a way to pull to dev) or is there something I should use to push/pull db changes?

Thanks in advance.

Figured it out after more trial and error.