Question

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
Answer a question...

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.

alexdo
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

https://www.digitalocean.com/community/tech-talks/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:

https://www.digitalocean.com/community/tutorials/how-to-deploy-a-static-site-from-github-with-digitalocean-app-platform-quickstart

Regards