Dwayne McDaniel: Shipping Content With WP-CLI and Automated Testing And Why That Is Awesome
Channel: WordPress
Date: 12/04/2020

We live in a world of continuous integration, continuous delivery, version controlled code and configuration. Yet when it comes to delivering content we are relying on doing all publishing straight to the production environment and hoping it works, editing the live document to fix issues we only find once they are in production. I propose there is a better way.
Let’s build our content on our development instances the same way we develop code and configuration. Then using the power of Github, WP-CLI and Automated Testing tools like Behat, let’s professionally deploy our content to production will full confidence it works as intended. Let’s give editors better tools to build better content in a word of Gutenberg while saving anyone the need to overwrite the production database ever again.
Topics include:
WP-CLI for generating content
Connecting Github and your WordPress site
Leveraging multiple environments
Behaviorally testing content

Presentation slides: https://drive.google.com/file/d/1jrTvhpV8_izi4TkpQhAIi_cUquW_aOnL/view?usp=sharing
WPTV link: https://wordpress.tv/2019/12/19/dwayne-mcdaniel-shipping-content-with-wp-cli-and-automated-testing-and-why-that-is-awesome/