Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form
Home » Version Control System » How to connect GitHub and Build a CI/CD Pipeline with Vercel

How to connect GitHub and Build a CI/CD Pipeline with Vercel

Posted on 20/04/202409/06/2024 Temitope Odemo By Temitope Odemo No Comments on How to connect GitHub and Build a CI/CD Pipeline with Vercel
connect GitHub and Build a CI:CD Pipeline with Vercel

Gone are the days when it became difficult to deploy your code for real-time changes. The continuous integration and continuous deployment process has put a stop to the previous archaic way of deployment. In this guide, I will show you how to connect GitHub and Build a CI/CD Pipeline with Vercel. Please see How to use GitHub as Source Provider for AWS CodePipeline, and how to use Command-Line on Git Bash and GitHub Desktop to PUSH local code to GitHub.

We now have several platforms that you can use on the bounce to achieve this task easily. One of these platforms is Vercel which can be used to deploy several applications fast. You do not need to be a DevOps expert before you can set this platform up because you can deploy your site with zero configuration.

Vercel can integrate with GitHub, GitLab, or Bitbucket repository for instant continuous deployment. On this platform, you can run automated tests for performance and reliability on every push, your Pull and merge requests can be deployed instantly to a unique URL that is accessible to everyone.

Read further about How to Deploy a React Application on Netlify, How to Create a React App with Vite, How to Deploy GitHub Repositories to cPanel using GitHub Actions. Follow as I will be showing you how to connect GitHub and Build a CI/CD Pipeline with Vercel.

Push code to GitHub Repository

We are going to be using NextJS App as an example. It is currently on my localhost:

How-to-connect-GitHub-and-Build-a-CICD-Pipeline-with-Vercel-localhost

Run the URL shown in the image below

How-to-connect-GitHub-and-Build-a-CICD-Pipeline-with-Vercel-NextJS

Let’s assume you already have a repository and branch created on GitHub. You can Set up and use an upstream branch in Git to get all this done.

1. Push local code to the GitHub repository using the below Git command:

git init
git add .
git commit -m “first commit”
git branch -M main
git remote add origin <URL>
git push -u origin main

GitHub Code repository

Github

How to connect GitHub and Build a CI/CD Pipeline with Vercel

2. Next you will need to create a free account with Vercel, you will need to create one at https://vercel.com/signup. Choose your Plan Type.

Create-account

Connect to GitHub

3. Create your account using your GitHub credentials for the best experience.

Continue-with-GitHub

4. After you log in, click on the drop-down Add New and select Project. You will then see a screen where you can import your Git Repository.

new-project

Installation of GitHub App

5. Install the GitHub application for the accounts you wish to Import.

Install-github

6. Import the Git Repository you want to configure with Vercel.

Import-Git-Repo

7. When configuring the Project enter the name of the project and select the Framework, I will be using Next.js Framework. Click Deploy and wait briefly for the deployment process to complete.

Vercel-Deploy

8. The deployment process only takes few minutes.

How-to-connect-GitHub-and-Build-a-CICD-Pipeline-with-Vercel-Deployment-Process

Connect GitHub and Build a CI/CD Pipeline with Vercel

9. if everything goes well you will receive a message “Congratulations!”

How-to-connect-GitHub-and-Build-a-CICD-Pipeline-with-Vercel-congratulations

10. Automatically a Production domain will be assigned where you can access your application.

Assigned-Domain

11. We can access our application on this domain as shown in the image below

application-domain

11. You may decide to use your own custom domain. Some configurations need to be done, like A Record, CNAME, and Nameservers.

How-to-connect-GitHub-and-Build-a-CICD-Pipeline-with-Vercel-domain-configuration

FAQs

Can we use GitHub for CI CD pipeline?

Yes. GitHub can be used to configure a CICD pipeline. If you used GitHub as your code repository you will not need to build, deploy, or maintain additional tools.

What are the four steps in a CI CD pipeline?

The CI/CD pipeline combines continuous integration and continuous delivery using these four phases: source, build, test, and deploy.

I hope you found this blog post on How to connect GitHub and Build a CI/CD Pipeline with Vercel Interesting and helpful. If you have any questions do not hesitate to ask in the comment section.

5/5 - (1 vote)

Thank you for reading this post. Kindly share it with others.

  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Facebook (Opens in new window) Facebook
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Telegram (Opens in new window) Telegram
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Mastodon (Opens in new window) Mastodon
  • Share on Bluesky (Opens in new window) Bluesky
  • Share on Threads (Opens in new window) Threads
  • Share on Nextdoor (Opens in new window) Nextdoor
Version Control System Tags:AWS, deployment, Github, Google, Repository

Post navigation

Previous Post: Perform Office Online Server Update via Windows Updates
Next Post: How to add a user to the Slack workspace

Related Posts

  • Azure DevOps Server
    How to Install Azure DevOps Server 2022 Automation
  • Screenshot 2024 02 28 at 11.17.41 PM
    GitHub Pages Deployment Guide Linux
  • Banner 1
    How to Deploy a React Application on Netlify Automation
  • git default branch min
    Git config –global init.defaultBranch: Error cannot lock ref ‘refs/remotes/origin/windows’, not a directory Version Control System
  • Screenshot 2022 04 02 at 22.59.54
    How to fix importing the project failed: Project namespace path can contain only letters, digits, etc Version Control System
  • gitlabcomplete
    Install Docker Desktop and register GitLab-Runner with Docker-windows executor Containers

More Related Articles

Azure DevOps Server How to Install Azure DevOps Server 2022 Automation
Screenshot 2024 02 28 at 11.17.41 PM GitHub Pages Deployment Guide Linux
Banner 1 How to Deploy a React Application on Netlify Automation
git default branch min Git config –global init.defaultBranch: Error cannot lock ref ‘refs/remotes/origin/windows’, not a directory Version Control System
Screenshot 2022 04 02 at 22.59.54 How to fix importing the project failed: Project namespace path can contain only letters, digits, etc Version Control System
gitlabcomplete Install Docker Desktop and register GitLab-Runner with Docker-windows executor Containers

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

Veeam Vanguard

  • HyperV 1
    An error occurred while attempting to connect to the server: Check if the Virtual Machine Management service is running or you are not authorized to connect to this server Virtualization
  • How to use DBeaver on MacOS
    Install DBeaver on macOS: Connect to PostgreSQL Database Oracle/MSSQL/MySQL
  • scroll
    How to Take a Scrolling Screenshot on Windows 11 Windows
  • Configure AD LDAPs
    Generate a self-signed SSL certificate: Enable LDAP over SSL Windows Server
  • task kill keyboard feature 1000x450 1
    Task Kill vs Stop Process: How to search for a service PID Windows Server
  • fghj
    Windows Profile: How to determine your windows username Windows
  • Fix Secure Boot certificate expiration
    Enable Secure Boot: Fix Secure Boot certificates expiration [Part 1] Windows
  • article 1280x720.78eff5c4
    How to reset your built-in Local Administrator password in Windows 10 Windows Server

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,821 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon

Tags

Active Directory Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.