This website uses cookies

Our website, platform and/or any sub domains use cookies to understand how you use our services, and to improve both your experience and our marketing relevance.

CloudwaysCDN — a powerful solution that offers superior performance and satisfied global audience for your business. Read More

How to Automate Deployment on Cloudways Using DeployBOT

Updated on  January 23, 2017

2 Min Read
Reading Time: 2 minutes

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.

Share your opinion in the comment section. COMMENT NOW

Start Growing with Cloudways Today.

Our Clients Love us because we never compromise on these

About The Author

Najmus Saqib

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

Stay Connected:

Get Our Newsletter
Be the first to get the latest updates and tutorials.

THERE’S MORE TO READ.