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
  • jmeterimage
    Apache JMeter Load Testing: Test Mobile Apps on Windows Configuration Management Tool
  • fimage2
    How to install and configure JIRA on Linux Linux
  • screenshot 2020 03 21 at 22.44.04 1
    How to create a Microsoft HyperV checkpoint Virtualization
  • ADO Self hosted agent
    How to Create Self-Hosted Agent for Azure DevOps Pipelines Automation
  • Azure backup for MSSQL
    Restore MSSQL Server on Azure VMs using Azure Backup Network | Monitoring
  • Temp Files
    Recover Temp Files using Disk Drill etc on Windows 10 and 11 Windows
  • Synology Cloud Sync
    How to Sync Data in Cloud Drives to Synology NAS Backup
  • screenshot 2020 05 11 at 15.03.02
    How to record the screen of macOS Mac

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 Pocket (Opens in new window) Pocket
  • 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

  • banner 3
    How to Create a React App with Vite Version Control System
  • git default branch min
    Git config –global init.defaultBranch: Error cannot lock ref ‘refs/remotes/origin/windows’, not a directory Version Control System
  • Azure CI CD Pipeline
    CI/CD Pipeline: Your First in Azure DevOps with ASP.Net Core AWS/Azure/OpenShift
  • Banner 1
    How to Deploy a React Application on Netlify Automation
  • BitBucket Repo
    How to create Bitbucket Repository Version Control System
  • ArchiveUnarchiveDelete134
    Manage a GitLab Project: How to archive or unarchive and delete GitLab projects Version Control System

More Related Articles

banner 3 How to Create a React App with Vite Version Control System
git default branch min Git config –global init.defaultBranch: Error cannot lock ref ‘refs/remotes/origin/windows’, not a directory Version Control System
Azure CI CD Pipeline CI/CD Pipeline: Your First in Azure DevOps with ASP.Net Core AWS/Azure/OpenShift
Banner 1 How to Deploy a React Application on Netlify Automation
BitBucket Repo How to create Bitbucket Repository Version Control System
ArchiveUnarchiveDelete134 Manage a GitLab Project: How to archive or unarchive and delete GitLab projects Version Control System

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

sysadmin top30a

  • jmeterimage
    Apache JMeter Load Testing: Test Mobile Apps on Windows Configuration Management Tool
  • fimage2
    How to install and configure JIRA on Linux Linux
  • screenshot 2020 03 21 at 22.44.04 1
    How to create a Microsoft HyperV checkpoint Virtualization
  • ADO Self hosted agent
    How to Create Self-Hosted Agent for Azure DevOps Pipelines Automation
  • Azure backup for MSSQL
    Restore MSSQL Server on Azure VMs using Azure Backup Network | Monitoring
  • Temp Files
    Recover Temp Files using Disk Drill etc on Windows 10 and 11 Windows
  • Synology Cloud Sync
    How to Sync Data in Cloud Drives to Synology NAS Backup
  • screenshot 2020 05 11 at 15.03.02
    How to record the screen of macOS Mac

Subscribe to Blog via Email

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

Join 1,834 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 AWS Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Server 2016

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.