Deploy sage theme (where to put "project pre build commands local")

I noticed in the trellis repo the group_vars files were split up.

I’m trying to deploy sage to staging/production. First it wasn’t working then I added:


I put this into my wordpress_sites.yml file and the deployment worked, but is that where it should reside? Am I supposed to change settings in roles/deploy/defaults/main.yml?

Thanks. Trellis is a blast!

defaults should always be left is. Any customization should be in group_vars (or getting more advanced places like host_vars or other var files).

Those variables can be defined in any group_vars file for the environment you want. wordpress_sites.yml seems fine to me though. It’s really just for organization purposes.