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?
DigitalOcean has an API that developers can use to create ingratiations and script the deployment of droplets. The documentation is here:
And here's a tutorial to get you started:
Someone wrote Node.js bindings for it as well:
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:
Let me know if you have anymore questions, or if I didn't understand you right!
One big step in developing a web application is deciding how best to deploy it when it's ready for production. Dokku, a simple app built on top of Docker, the Linux container system, provides an easy way to do this. In this article, we will explore how to easily deploy a Node.js application using the DigitalOcean one-click Dokku image.