Using Git and GitHub Actions for deployment is overly complicated process. This document outlines what needs to be setup to get everything working together. This tutorial assumes you have already created or have access to you websites code in a GitHub repository and you have setup a LAMP stack server using a non root user.
If you havn't setup your LAMP stack yet check out this great tutorial https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu-20-04. You might also need to setup and enable HTTPS to your website using this tutorial https://www.digitalocean.com/community/tutorials/how-to-secure-apache-with-let-s-encrypt-on-ubuntu-20-04.
Changes originate inside the Desktop
from your Text Editor
. Those changes are saved to the Project Folder
and uploaded to the Development Folder
via SFTP
on the Server
for testing. Once the changes have been approved they are committed into the Desktop's
Git
and pushed to GitHub
. When `Git