Deploying Django apps with Github Actions and Django Up
For the last few years I've been using Django Up to deploy my small Django side projects. It's implemented as a Django management command that under the hood uses Ansible to deploy to an Ubuntu 22.04 server.
In the past, I've typically run deployments from my local machine. However, this year I've been encouraging more teams to focus on CI/CD practices, so I've decided to migrate a number of projects to deploy from Github Actions (thanks, work!).
With that in mind, I wanted to share a quick guide on how to deploy a new Django project to a VPS using Github Actions.
Source: Deploying Django apps with Github Actions and Django Up, an article by Brenton Cleeland.