Your site works. Nobody wants to touch it. Plugins updated in the live admin, files copied over FTP, a backup “somewhere”. It works until the day an update goes wrong and there is no way back.
This course is a build log. We moved 4wp.dev from classic WordPress to Roots Bedrock and a deploy through GitHub Actions, starting on 11 October 2026: WordPress 7.1.3, 27 plugins, 1.3 GB of files. Every lesson is short theory, a real artifact (a command, a config, a workflow) and a real mistake we made on the way, with the fix.
What you’ll build
| From | To |
|---|---|
| Plugins and core updated in the live admin | everything pinned in composer.json / composer.lock |
| One server, edited in place | Local → Staging → Production |
| Copy files and hope | atomic releases with releases/, shared/, current and a one-step rollback |
| Deploy by hand | deploy on push, a smoke test and post-deploy WP-CLI in GitHub Actions |
Modules
1. Why Roots, and where to start: auditing a classic site. What changes with Bedrock, the three environments, and an honest inventory of production before you move anything.
2. Bedrock + Composer: the project skeleton. The repository, Bedrock from the inside, Composer and platform.php, .env and .gitignore.
3. Your own plugins as Composer packages. A “passport” for each plugin, tags, VCS repositories, composer link and live development across several repos.
4. Local: LocalWP on Bedrock. The public symlink, importing the database, /wp-content/ becoming /app/, and an uploads proxy instead of copying gigabytes.
5. Server and staging: atomic releases. A hosting account in a jail, releases/shared/current, MySQL 5.7, .htaccess, basic auth and mail on staging.
6. GitHub Actions: deploy, smoke test, rollback. Secrets and keys, the workflow, a smoke test that checks content and not only a 200, post-deploy WP-CLI and a quality gate.
7. Cutting over production, and what comes next. Switching production, backups, pre-commit hooks, tests, and the road to Trellis.
How a lesson works
| Part | What you get |
|---|---|
| A real incident | what broke during the 4wp.dev migration and why |
| Short theory | only what you need for the step |
| The artifact | the command, config or workflow we actually used |
| Common mistakes | symptom → cause → fix |
Who it’s for: WordPress developers who can install WordPress and edit themes and plugins, have used FTP and the admin, but haven’t worked with Composer, SSH keys or CI/CD yet.
Result: you move your own live site to Local → Staging → Production with deploy on push, atomic releases and rollback.
Outside this course
- Git basics → Git Basics Course
- PHP and Composer → PHP for WordPress Developers