I am cloning a theme 50+ times on different domains from my github repository. I make changes to the codebase daily and sometimes I edit a style or two along with the JS files. I do not have the dist folder under version control because of best practices and the fact that the cache busting system would balloon my repository. I need to figure out a way to get those 50+ sites the newest dist assets. Has anyone had to tackle this problem?
P.S. I do not use Trellis to deploy, should I be doing this? I also am using Cloudways with Digital Ocean as the cloud provider.
Unfortunately we have decided against this because if the WP core gets compromised the entire network would be down. Its a SAAS website for a niche industry so each customer gets a standalone site. I am going to look into Capistrano or any other ideas people have. Thanks for the suggestions.
But you don’t have to use Trellis, you can also make your own deployment task/script on run that on each server automatically. For some many sites you may also bei interested in using a CI/CD pipeline that automatically updates the plugins, releases to staging and (after an optional manual approval process) to production.
There are also paid SaaS WordPress deployment solutions.