Report this

What is the reason for this report?

How to set up automatic deploy with bitbucket and droplet

Posted on June 8, 2021

Hi guys, i have a git repository on bitbucket and i would like to do some automatization, that is when i push to my branch master in bitbucket automatic deploy my app with new features. I have just one droplet, because of this i haven’t built in features like in droplets app. I found just this article by bitbucket: https://support.atlassian.com/bitbucket-cloud/docs/deploy-using-scp/.

There is a way to do this automatization without buy an app plan?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi there @caiogrossi6,

This should indeed work fine with the Bitbucket Pipeline that you’ve shared:

https://support.atlassian.com/bitbucket-cloud/docs/deploy-using-scp/

You would need to add an SSH key to your Droplet and specify your server details accordingly in the pipeline yaml file.

As far as I can see the free Bitbucket plan includes some free build minutes so you will not have to upgrade your Bitbucket plan.

Regards, Bobby

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.