What parametre control the website folder name in srv/www


I’m trying to deploy the production version besides the staging version in the same server
so far I’ve been using project-name.com for all things, staging domain is project-name.our-agency.com but when I navigate to the server the folder is named project-name.com
I suspect that is because this is the value I used in group_vars/staging/wordpress_sites

      - canonical: project-name.our-agency.com
    local_path: ../site # path targeting local Bedrock site directory (relative to Ansible root)
    repo: git@bitbucket.org:agency/project.git # replace with your Git repo URL
    branch: master
      enabled: false
      enabled: true
      provider: letsencrypt
      enabled: false

so what should I change?


Try changing that second line of wordpress_sites from project-name.com: to staging-project-name.com:. Note other implementation details and discussion…