How to automate WordPress delivery with Docker and Buddy [part.2]

Buddy
2 min readJan 10, 2018

We showed you how to dockerize your WordPress project and run it on the server using Docker Compose, in the first part of the guide, right here.

Objective of this guide is to show help you streamline the whole process down to a single git push.

Set up a project with Buddy

Now you need to configure a delivery pipeline so that it automatically executes on every push to branch:

  1. Sign up to Buddy with your GitHub/Bitbucket account or email
  2. Create a new project, select your Git provider, and choose your WP project:

Set up a delivery pipeline

Now you need to configure a delivery pipeline so that it automatically executes on every push to branch:

  1. Click Add a new pipeline
  2. Set the trigger mode to ‘On every push’
  3. Select the branch that will trigger the execution
  4. Click Add a new pipeline when ready

Define the delivery actions

Now it’s time to reproduce your workflow into actions:

  1. Add K8s deployment con
  2. (Optional) Add a build action to process your files before the deployment. In this example we’ll use Gulp to test the application:

Like what your read? Check out the full guide here!

--

--

No responses yet