Question

How to set up automatic deploy with bitbucket and droplet

Posted June 8, 2021 50 views
DeploymentCI/CD

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?

1 comment
  • 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.

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.

×
Submit an Answer
1 answer

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