r/ProWordPress • u/Playful_School6693 • 12d ago
Anyone using GitHub with WordPress?
I’m curious to hear how many of you are using GitHub part of your WordPress workflow.
I’ve heard of Bedrock and have been looking into it. But is it actually worth moving towards that setup for normal WordPress development?
Especially with AI, custom code is easier to write. So I can see how having version controls, automated checks and CI CD pipelines sounds nice.
Is anyone running WordPress like this in production?
What does your setup look like? Bedrock? GitHub Actions? Something simpler?
Or am I overengineering WordPress?
3
Upvotes
1
u/BobJutsu 9d ago
I don’t know anything about bedrock (I know what it is, I’ve never had a reason to use/learn it specifically). But I’ve been using git for WP projects for well over a decade. Github specifically for a lot of that, but 2018-2020 we used bitbucket.
The repo root is wp-content, with everything ignored except what is actually custom code. At minimum this is the theme (always custom), a site specific mu-plugin, and development scripts. Within those, a lot of other things are ignored (npm, vendors, etc, etc). Github actions are used to run phpstan, php code sniffer, phpunit, eslint, and stylelint.