I'm looking to create a reusable WordPress workflow for my client sites and I'd love some input on the best stack to use. My goal is to have everything managed in GitHub, avoid page builders, and ideally implement a headless setup with Astro for the frontend. I want a staging environment that can be automatically created and updated via a script, where it checks for errors before going live. It's important for this to remain user-friendly enough for clients to edit their own content while I manage the theme, structure, and deployment process.
I've considered using tools from roots.io, but I've heard they can complicate things and sometimes break after updates. I'm open to those tools if there's a strong advantage, but I want to steer clear of a setup that leads to constant maintenance issues. If you've built something similar, I'd like to know what stack or workflow you found effective, especially for reliable deployments, version control, and ensuring a straightforward editing experience for clients who aren't tech-savvy.
3 Answers
I'm interested in this too! Would love to hear more responses. It seems like finding the right balance between client usability and your control over the site is tricky.
If you're going with Astro, you might want to consider skipping WordPress entirely and opting for a more robust headless CMS. There's really no need to stick with WordPress if you're focused on building custom sites. It can be a hassle trying to integrate it into a modern workflow.
I suggest separating your CMS from the frontend. Build a headless CMS or API and then create your frontend with whatever technology you prefer. This way, if a client comes in using a different system, you can still use your existing frontend since it’s designed to work with any API. This setup will also give you more versatility for future projects, allowing you to cater to various client needs.

Related Questions
How to Build a Custom GPT Journalist That Posts Directly to WordPress
Cloudflare Origin SSL Certificate Setup Guide
How To Effectively Monetize A Site With Ads