...
This guide will remain in place in case we need to work with or troubleshoot legacy installs.
Guide to Enabling Circle CI with a WPEngine Project
Create and Connect the project on Circle CI: https://circleci.com/docs/2.0/getting-started/
Set up your config.yml task with the associated subtasks. This step will look different based on the distro of WP you are using. Here is an example with Building Changes which uses bedrock:
...
Set up Circle CI to push to WPEngine via rsync after all tasks are complete.
WPEngine SSH login is displayed on the site overview
WPEngine needs the public key, and Circle CI will need your private key.
In WPE, under Account (top right) -> Profile -> SSH Keys add the public key
In Circle CI, under the Project Settings -> SSH Keys -> Additional SSH keys add the private key
Hot Tips
If you aren’t sure where your rsync is going, but it succeeds, try ssh’ing into the WPEngine instance. You can use that to figure out the project’s directory.
If you need to execute a command in a sub-directory, write it like so:
...