Deploying from GitHub to a droplet

I want to deploy websites from GitHub to my droplet. I have deployed from GitHub to other hosts, such as IBM Cloud, Netlify and Cloudflare Pages. Most big hosts such as them make it relatively easy to set up the GitHub Action. I have tried to find a relevant article for DigitalOcean Droplets but cannot find much. I would try to post links to the two articles I found but since I am new I might not be able to post the links.

I prefer to not use Docker for this but I know that it is so common to use Docker that most articles would do that.

At the moment I have just a static website with just HTML and CSS in my droplet, hosted by Nginx. I intend to deploy ASP.Net Core applications into my droplet. I currently have a few ASP.Net Core Blazor WebAssembly sites in Cloudflare Pages. I also have an ASP.Net Core application in Netlify that I want to move into my droplent.

Show comments

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Site Moderator
Site Moderator badge
December 12, 2022

Hello @samhobbs

You can check one of our Tech Talks on Deploying to DigitalOcean With GitHub Actions

Also, you can use our App Platform to deploy a static site from a Git repository, this article covers that process:


Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

card icon
Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Sign up
card icon
Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We’d like to help.

Learn more
card icon
Become a contributor

You get paid; we donate to tech nonprofits.

Learn more
Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow – whether you’re running one virtual machine or ten thousand.

Learn more ->
DigitalOcean Cloud Control Panel