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

  • automatepythonsinwindows
    Python Automation in Windows with Visual Studio Code Version Control System
  • Azure CI CD Pipeline
    CI/CD Pipeline: Your First in Azure DevOps with ASP.Net Core AWS/Azure/OpenShift
  • Upstream branch in Git 1
    Set up and use an upstream branch in Git Version Control System
  • ref error
    Error: cannot lock ref ‘refs/remotes/origin/windows’: unable to resolve reference ‘refs/remotes/origin/windows’, Not a directory Version Control System
  • Screenshot 2022 03 20 at 21.08.50
    How to integrate AWS CodeBuild and AWS CodeCommit to SonarCloud AWS/Azure/OpenShift
  • sonarlite
    How to Setup SonarLint in VS Code for Your App Project Configuration Management Tool

More Related Articles

automatepythonsinwindows Python Automation in Windows with Visual Studio Code Version Control System
Azure CI CD Pipeline CI/CD Pipeline: Your First in Azure DevOps with ASP.Net Core AWS/Azure/OpenShift
Upstream branch in Git 1 Set up and use an upstream branch in Git Version Control System
ref error Error: cannot lock ref ‘refs/remotes/origin/windows’: unable to resolve reference ‘refs/remotes/origin/windows’, Not a directory Version Control System
Screenshot 2022 03 20 at 21.08.50 How to integrate AWS CodeBuild and AWS CodeCommit to SonarCloud AWS/Azure/OpenShift
sonarlite How to Setup SonarLint in VS Code for Your App Project Configuration Management Tool

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

  • ansible vault
    Concept of Ansible on Windows using Cygwin Configuration Management Tool
  • powerpoint 1280x720 1
    How to change the speller and proofing language in PowerPoint Microsoft Exchange/Office/365
  • windows powershell thumbnail
    Unable to uninstall AppX? How to uninstall builtin programs using PowerShell in Windows 10 Scripts
  • Linux Shell Scripting 1
    Write a Shell Script that Count Lines and Words in a File Linux
  • screenshot 2020 04 07 at 21.02.45
    Trend Micro WorryFree Business Security Server Setup Anti-Virus Solution
  • Defender Antivirus
    Windows Defender Antivirus Management with Intune Anti-Virus Solution
  • dsdfg
    Create a Bootable USB Drive Using dd Command on Linux Linux
  • wds and dns l
    What happens when WDS and DNS are installed on the same Windows Server? DNS issues with WDS 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,813 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.