Report this

What is the reason for this report?

How can I setup my droplet to update itself from a Continuous Integration suite like Codeship

Posted on April 16, 2014

I am using Codeship to do integration testing whenever I push and commit at Github. I would like to know how do you guys set it up to deploy to droplets using Codeship

My projects are all in Node JS



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.

I wrote a detailed blog post on how to automatically deploy a static website to a DO droplet every time you do a push to the master branch: https://kunalnagar.in/blog/deploy-sites-codeship-digital-ocean/

Hi tjmonsi, <br> <br>I’m not entirely sure what you are asking. Do you want to deploy code to a droplet when you make a git commit, or do you want to automatically launch droplets yourself? <br> <br>DigitalOcean has an API that developers can use to create ingratiations and script the deployment of droplets. The documentation is here: <br> <br>https://developers.digitalocean.com/ <br> <br>And here’s a tutorial to get you started: <br> <br>https://www.digitalocean.com/community/articles/how-to-use-the-digitalocean-api <br> <br>Someone wrote Node.js bindings for it as well: <br> <br>https://github.com/enzy/digitalocean-api <br> <br>If you’re just looking for info on how to deploy your project to a droplet, using the Dokku application might be a good choice: <br> <br>https://www.digitalocean.com/community/articles/how-to-use-the-dokku-one-click-digitalocean-image-to-run-a-node-js-app <br> <br>Let me know if you have anymore questions, or if I didn’t understand you right!

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.