How to Automate Deployment on Cloudways Using DeployBOT

by Najmus Saqib  January 23, 2017

For software development teams, automated deployments have become imperative to the process flow. Manual deployments are error-prone. Manual deployments sap energy and effort of the team members.

Any Managed Cloud Hosting Platform which claims to be a high-quality solution must provide the ability to automate deployment. This is why Cloudways does exactly that. Earlier, I explained how to automate deployment using DeployHQ.

You can also achieve deployment automation using DeployBOT (or dploy.io).

Deployment using DeployBOT

DeployBot is a deployment tool that connects your code repositories to your servers. In this article, I will describe how you can deploy your code on a Cloudways server using DeployBot.

Create a DeployBot Account

You can create an account for free which will be used for a single repository.

Connect a repository

DeployBot has out-of-the-box support for GitHub and BitBucket, but you may also connect to other repositories.

github

Configure the environment

By default, the deployment will be manual. However, you can change it to ‘automatic’ to start the deployment whenever a change is made in your repo. You may also need to change from ‘master’ to the branch you want to use.

deploybot general setting

Configure the server

Select SFTP under Files section.

deployment option

You can get the login credentials from the Master Credentials section inside the Cloudways Server Console.

master credentials

Enter the SFTP into DployBot.

Deploy

Navigate to Dashboard and click “Deploy”. On the deployment screen, click “Start deployment”.

Deployment LOG

Note: You may click on “Preview the files to be deployed” button to have a look which files are going to be changed (or deleted) by the deployment as any manual change previously done on SFTP will be overwritten.

Start Creating Web Apps on Managed Cloud Servers Now!

Easy Web App Deployment for Agencies, Developers and E-Commerce Industry

About Najmus Saqib

Najmus Saqib is currently working as Senior Software Engineer at Cloudways. He specializes in PHP, Python, and Google App Engine.

Stay Connected:

You Might Also Like...