How to set up automatic deploy with bitbucket and droplet

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:

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


Let me chime in and say that I have exactly this same question! And if it is not possible to use bitbucket for automatic app deployment, without buying a plan, then what would the process be to move from bitbucket over to Github, now that they permit private repositories in their Free Plan.

Submit an 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:

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