How to Deploy Private GitHub Repositories to cPanel With GitHub Actions [Continuous Deployment (CD)]

This article shows you the step by step on how to automatically deploy a private GitHub repository to cPanel on every push.

If you are interested on how to deploy a public repository, CLICK HERE

Let’s go straight to the point;

You are working on a project in a private GitHub environment, You would want to deploy your codes to cPanel so that it can go live.
The workflow is as follows;

  1. Make some changes on your local machine
  2. Make the changes in a separate git branch,
  3. Once you are done with the testing and everything seems perfect, you would…


React + cPanel

This tutorial assumes you already have a cPanel hosting service purchased and a domain name registered. If yes, Let’s go straight to the steps (If No, You can comment, I can give you steps on how to get a domain and hosting service)

Step 1. Using the Terminal/CMD in your project directory, create a react app if you haven’t by running `npx create-react-app my-app`, Once the installation is successful, CD into the my-app directory created.


What is PWA?

A progressive web application is a type of application software delivered through the web, built using common web technologies including HTML, CSS and JavaScript. It is intended to work on any platform that uses a standards-compliant browser. (Wikipedia)

They are websites that look and feel like a mobile app. It is lightweight, users can access a website by clicking on the app installed on their phones.

Why do you need PWA?

If you do not have the budget to build a mobile app for your website, PWAs are cheap and fast to develop.

PWAs have fast loading…


What is TamperMonkey?

TamperMonkey is an extension on Google Chrome (and some other browsers like Opera, you can use GreaseMonkey as an alternative on Firefox ).

TamperMonkey
TamperMonkey

TamperMonkey allows you to inject additional JavaScript codes into web pages you load in your browser, you can add/remove features, and you can do some hacky stuff or automate things.

For example, let’s say you want to be able to download YouTube videos, You can use a TamperMonkey script to add a “Download” button to the videos.

TamperMonkey gives this awesome power and you can have access to pretty much everything you could get by writing a…


You have developed your website, purchased the domain name and a hosting service.

You uploaded your website files unto the server via ftp or some other means, you visited your domain name with your browser and everything works fine.

Congratulations!!!

You are already jubilating that your website is now live, then you got a call from a close friend that you sent your website link to. They informed you about the warning they got while visiting your website:

Your connection to this site is not secure

Your connection to this site is not secure

and you’re like “But I had installed and activated an SSL certificate for my…


Following the completion of the 5-Day Mini-course and having learned about AI/Machine Learning and its sub-domains where AGI (Artificial General Intelligence), ANI (Artificial Narrow Intelligence), the category of ANI; Machine Learning(Machine Learning) and the divisions of Machine Learning (Supervised, Unsupervised, Reinforcement) were discussed, I started the Full course; Beginning Machine Learning with TensorFlow.js.

Graphical representation of AI categories and sub-categories by Ridwan Balogun Ridbay

“Data is in abundance, and Machine Learning algorithms thrive on data. A web search returns thousands of results, and our phones, tablets, and maker hardware allow us to further digitize the world around us into local referable folders. Data that would have taken a person in the…


git cpanel

To use or do anything in Git, you need repositories, either on your local computer or one hosted on your GitHub, GitLab or bitbucket account.

Do you wish to deploy these public repositories on your live server via cPanel?

Click here to for the steps to deploy PRIVATE REPOSITIORIES TO CPANEL

Have you been using the manual method of downloading your repositories from GitHub, GitLab or Bitbucket, then uploading manually via the cPanel file manager tool?

If the answer is YES, then this is for you, I will show you how you can deploy your repositories to cPanel automatically with…


So you have some files or folder lying helplessly on your laptop.

You have a friend or relative that wants you to share the files/folders with them but that seems impossible, they want you to share a link with them for them to access it.

You have a team and there’s a need to collaborate in real time on some documents, but that seems impossible.

You’re confused and don’t know what to do.

Fact, It is possible.

How do you go about this?

Do you have to do this every time someone needs a link to your document?

Do you…


Yay, You made it!!! (pat yourself on the back, you’re awesome).

As a recap, during the last 4 days, we’ve talked about what AI & ML, their definition, categories and applications.

Click Here to read about Day 4.

We’ve talked about Types of Machine Learning, Visual Machine learning and GANs with an analogy to make you understand better.

Now, let’s talk about the places AI can go.

You are curious (just like everyone else) where you can apply AI, how you can create value from data.


This is the 4th day of taking the mini-course
And today, we’d learn what GAN is.

In case you missed the Day-3 on my journey, Click Here to Read (it’s ashort article).

GAN stands for Generative Adversarial Network.
In 2014, Ian Goodfellow (I’m sure he’s a good fellow, nice name though) conceived an idea to create two generative machines that compete against each other, thereby forcing them to learn from each other if properly organized.

For example.
Suppose there is a merchant that buys certain kind of jewellery from customers which they will resell.
However, there are customers who sell fake jewellery…

Ridbay

Software Engineer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store