Github with CI/CD

CI/CD has to be the best creation in development since we moved away from punchcards!  Here's how I've been implementing CICD in my Github projects recently:

Go to Github, click on your profile picture and then on "Developer Settings"

Create a new Personal Access Token and assign the permissions you want

Create your command line to pull the repo and branch that you want:

git pull https://<oAuthID>:[email protected]/uccodingducks/<MyRepoName>.git main

 

Now you can use this on the command line or as part of your CI/CD deployment YML script to pull the latest repo contents to your server.