Overview

Buddy.works is a comprehensive Continuous Integration / Continuous Deployment (CI/CD) platform which allows you to automate workflows to get your code into production sooner and in a more reliable fashion.

While Plesk has basic Git integration, Buddy.works allows for a number of intermediate steps (such as image compression and minification) to be actioned at the same time. This guide will show you how to configure a pipeline which is compatible with Plesk.

Information

This guide covers the pipeline configuration only. If you’re new to Buddy.works, we suggest reading their documentation to get an understanding of their full system.

Instructions

  1. Within Buddy.works, select your existing project or create a new one.
  2. Add a new Pipeline:
    buddy.works code deployment with plesk
  3. Give your new pipeline a name and select “On push” if you want automated deployments:
    buddy.works code deployment with plesk
  4. Search for “FTP” within the actions and select FTPS (not SFTP):
    buddy.works code deployment with plesk
  5. Add in your FTP details for your existing Plesk subscription, then click Browse:
    buddy.works code deployment with plesk
  6. Select the path of where you wish the files to be deployed to. For example, for a WordPress theme you’ll want to select httpdocs/wp-content/themes/<theme-name>:
    buddy.works code deployment with plesk
  7. Save the configuration. You can now test with a manual run:
    buddy.works code deployment with plesk
    Once completed, this should provide a confirmation that the pipeline completed without error:
    buddy.works code deployment with plesk
  8. To ensure the pipeline is automatically deployed, select Webhook URL from the right hand side:
    buddy.works code deployment with plesk
  9. Copy the webhook URL into your chosen Git repository as a hook:
    buddy.works code deployment with plesk
  10. Integration between Buddy.works and Plesk has now been configured.
Was this article helpful?

Related Articles