IT Company Rajkot

Impex Infotech is a global Web Development Company providing IT solutions to companies worldwide.

Impex Infotech Pride Universe, Office No, 314, University Rd, opposite Gujarat Water Supply and Sewerage Board, Rajkot, Gujarat 360005

Open in Google Maps

How to Deploy Projects on Vercel with GitHub: A Beginner’s Guide

⏱ 16 min read · Includes a section on deploying AI-generated websites from Claude, ChatGPT and Gemini
How to Deploy Projects on Vercel with GitHub: A Beginner's Guide
Quick Answer

To deploy a project on Vercel with GitHub: push your code to a GitHub repository, sign up at vercel.com using your GitHub account, click “Add New Project”, import the repository, confirm the auto-detected framework and build settings, then click Deploy. Vercel builds and publishes your site to a free vercel.app URL in under a minute, and every future push to GitHub redeploys it automatically. This works identically whether a developer wrote the code by hand or an AI tool like Claude, ChatGPT or Gemini generated it — the deployment steps don’t change. Written by Impex Infotech, a website development company in Rajkot, India serving clients across India, Australia and the USA.

🎯 Key Takeaways

  • GitHub stores your code; Vercel builds and hosts it. Connecting them creates an automatic pipeline from commit to live site.
  • It doesn’t matter who wrote the code. AI-generated HTML, React or Next.js projects from Claude, ChatGPT or Gemini deploy exactly the same way as hand-written code.
  • Vercel’s free Hobby plan covers most beginner, portfolio and small-business projects with zero cost.
  • Every push can auto-deploy. Once connected, there’s no manual “upload” step ever again.
  • Custom domains take DNS changes, not code changes — the same domain-to-hosting logic covered in our domain connection guide applies here too.
  • Stuck, or want it done professionally? Impex Infotech can deploy, connect your domain and maintain the whole thing for you.

01Why This Guide Exists (and Who It’s For)

Over the last year, a huge number of people have started building entire websites just by chatting with an AI tool. You describe what you want, Claude or ChatGPT writes the HTML, CSS and JavaScript (sometimes a full React or Next.js app), and within minutes you have a working site — on your own computer. The problem almost everyone hits next is the same: the site works perfectly on localhost, but there’s no way for the rest of the world to see it.

That’s exactly the gap this guide closes. Vercel and GitHub together form the fastest, most beginner-friendly path from “code sitting on my laptop” to “live website anyone can visit,” and the process is genuinely the same whether a senior engineer wrote every line or an AI model generated the entire project in one prompt. If you can copy and paste a few commands, you can have a live URL today.

We’ll go step by step: what GitHub and Vercel actually do, how to get your files (AI-generated or not) into a repository, how to import that repository into Vercel, how to configure build settings correctly for different frameworks, how to attach your own domain, and what to do when something doesn’t work the first time.

02What Are Vercel and GitHub, Really?

Before touching any settings, it helps to understand what each tool is actually doing, because the two jobs are completely separate:

  • GitHub is a place to store and version your code. Every time you “commit” and “push,” GitHub keeps a full history of your project — think of it as Google Docs version history, but for code, plus a public or private copy that lives on the internet instead of only your laptop.
  • Vercel is a hosting and build platform. It watches your GitHub repository, and whenever it sees new code, it automatically builds your project (compiling React/Next.js, bundling assets, etc.) and publishes the result to a live URL with HTTPS already switched on.

Put simply: GitHub answers “where does my code live,” and Vercel answers “where does my website live.” Connecting the two means every update you push becomes a live update automatically — no FTP, no manual uploads, no server management.

ℹ️ Why Not Just Upload Files Directly?

Vercel does let you drag-and-drop a folder for a one-off deploy, but skipping GitHub means you lose version history, automatic redeploys, and preview URLs for testing changes before they go live. For anything beyond a quick throwaway test, connecting GitHub is worth the extra five minutes.

03What You Need Before You Start

You don’t need much — this is deliberately a low-barrier stack. Before you begin, make sure you have:

  • A GitHub account (free at github.com).
  • A Vercel account — you’ll create this using your GitHub login, so no separate signup form.
  • Git installed on your computer, or the GitHub Desktop app if you’d rather click buttons than type commands.
  • Your project files — a folder containing your HTML/CSS/JS, or a React, Next.js, Vue or other framework project. AI-generated projects work exactly the same way; see the next section.
  • A code editor such as VS Code (optional, but helpful for checking file structure).
💡 Pro Tip from Impex Infotech

If you’ve never used Git before, install GitHub Desktop instead of the command line. It gives you the same “commit” and “push” actions as buttons, which is often the fastest way for a true beginner to get from zero to a live Vercel deployment on the first attempt.

04Deploying a Website Built by Claude, ChatGPT or Gemini

This is the part most beginner guides skip, and it’s exactly why we wrote this one. A growing number of people are generating full websites — landing pages, portfolios, small business sites, even simple web apps — using AI chat tools, then getting stuck because they don’t know how to “publish” what the AI gave them. Here’s the honest answer: an AI-generated site is just code, and Vercel doesn’t know or care where the code came from.

  • Save every file the AI gave you into one folder.If you asked Claude, ChatGPT or Gemini for an HTML/CSS/JS site, save index.html, style.css and script.js (or whatever files it produced) into a single project folder on your computer, keeping the same file names and folder structure it described.
  • Check for a package.json if it’s a React/Next.js project.If the AI generated a framework-based app rather than plain HTML, make sure a package.json file listing the dependencies is included — this is what tells Vercel how to build the project.
  • Test it locally first.Open index.html in a browser (or run npm install then npm run dev for a framework project) to confirm everything works before you push it anywhere.
  • Follow the standard GitHub → Vercel steps below.From here, the process is identical to any other project — initialise Git, push to GitHub, import into Vercel, deploy.
  • The only extra step AI-generated projects sometimes need is double-checking that the AI didn’t reference missing files, broken image links, or a font/library it assumed was already installed. A quick local test catches almost all of these before you deploy. If you want the finished site to look genuinely professional rather than “obviously AI-made,” pairing the right typography matters more than people expect — our guides on the best coding fonts for developers in 2026 and font file types explained are useful next reads once your site is live and you’re polishing it further.

    05Step 1: Push Your Project to GitHub

    Open a terminal inside your project folder and run the following commands one at a time:

    git init
    git add .
    git commit -m "first commit"
    git branch -M main
    git remote add origin https://github.com/your-username/your-repo-name.git
    git push -u origin main

    Before the last two lines will work, you need an empty repository already created on GitHub (click the + icon → New repository, give it a name, and leave it empty — no README, no .gitignore — so it matches your local folder). Copy the repository URL GitHub shows you and use it in the git remote add origin line above.

    Prefer clicking over typing? In GitHub Desktop, choose File → Add Local Repository, select your folder, then click Publish repository. It runs the same steps behind a simple interface.

    ⚠️ Common Mistake

    Don’t commit sensitive information — API keys, passwords, database credentials — directly into your files. Put them in a .env file, add .env to a .gitignore file so Git ignores it, and configure the actual values inside Vercel’s Environment Variables settings instead (covered further down).

    06Step 2: Import and Deploy on Vercel

  • Go to vercel.com and sign up with GitHub.Click “Continue with GitHub” and authorize Vercel to access your repositories — you can limit this to specific repos if you prefer.
  • Click “Add New” → “Project.”This opens the import screen showing all the GitHub repositories Vercel has access to.
  • Select your repository and click Import.Vercel scans the project and tries to auto-detect the framework (Next.js, React/Vite, plain static HTML, etc.).
  • Review the build settings.For most frameworks the defaults are correct. For plain static HTML with no build step, leave the Build Command empty and set the Output Directory to the folder containing your files (often the project root).
  • Click Deploy.Vercel installs dependencies, runs the build, and publishes your site — usually finishing in 30 seconds to a few minutes.
  • Visit your live URL.Vercel gives you a free URL like your-project.vercel.app the moment the build succeeds — this is your live, shareable website.
  • 🎉 That’s It — You’re Live

    At this point your project is genuinely on the internet with free HTTPS, a global CDN, and automatic scaling — the same infrastructure large companies use — at zero cost. Everything from here (custom domains, environment variables, automatic redeploys) is optional polish, not a requirement to be “live.”

    07Build Settings by Framework

    Vercel auto-detects most popular frameworks correctly, but it helps to know what it’s actually doing behind the scenes, especially if the auto-detection guesses wrong or you’re deploying a plain static site an AI tool generated.

    Project TypeBuild CommandOutput DirectoryNotes
    Plain static HTML/CSS/JS(leave empty)Project root (or /public)Most AI chat-generated single-page sites fall here
    Next.jsnext buildAuto-managedVercel is built by the Next.js team; zero-config in most cases
    React (Vite)npm run builddistConfirm package.json has a “build” script
    React (Create React App)npm run buildbuildOlder tooling; still works fine on Vercel
    Vue / Nuxtnpm run builddist / .output/publicNuxt is auto-detected as its own framework preset
    Astronpm run builddistGreat fit for content-heavy AI-generated sites

    If your build fails and you’re not sure why, open your project’s package.json and confirm a "build" script actually exists — this is the single most common reason an AI-generated framework project fails its first deploy.

    08Environment Variables Explained

    Environment variables are values your code needs (API keys, database URLs, feature flags) that shouldn’t be hard-coded into your files. In your Vercel project, go to Settings → Environment Variables, add each key and value, and choose which environments they apply to (Production, Preview, Development).

    • Never commit real API keys directly into your HTML or JS files — treat them the same way you’d treat a password.
    • After adding or changing environment variables, you need to redeploy for the change to take effect — existing deployments don’t pick up new values automatically.
    • For purely static AI-generated sites with no backend calls, you may not need any environment variables at all.

    09Connecting a Custom Domain

    A vercel.app URL is perfectly usable, but most businesses want their own domain. The process mirrors standard domain-to-hosting setup — the same DNS logic we covered in detail in our guide to connecting a domain to hosting for WordPress applies here too, just pointed at Vercel instead of a WordPress host.

  • Open Project Settings → Domains.Type your domain (e.g. yourbusiness.com) and click Add.
  • Choose how you want to point it.Vercel will show you either an A record + IP address to add at your registrar, or the option to change your domain’s nameservers so Vercel manages DNS fully.
  • Update DNS at your registrar.Whether you registered through GoDaddy, Namecheap, or a local Indian, Australian or US registrar, the steps are the same: open DNS management and add the record Vercel gave you.
  • Wait for propagation.DNS changes can take anywhere from a few minutes up to 24–48 hours to fully propagate worldwide, exactly as with any other hosting provider.
  • Confirm HTTPS is active.Vercel automatically issues a free SSL certificate for your custom domain once it verifies ownership — no extra step needed.
  • This works the same regardless of whether your business (or your domain extension) is registered in India (.in/.co.in), Australia (.com.au/.au) or the USA (.com/.us) — DNS doesn’t care where you or your registrar are based.

    10Automatic Deployments & Preview URLs

    The real power of connecting GitHub to Vercel isn’t the first deploy — it’s every deploy after that. Once connected:

    • Every push to your main branch automatically triggers a new production build and updates your live site — no manual redeploy button needed.
    • Every push to any other branch, and every pull request, gets its own unique preview URL, so you (or a client) can review a change before it goes live.
    • Failed builds never take your live site down. If a push breaks the build, Vercel simply keeps your last successful deployment live while showing you the error in the dashboard.
    Production Deploymain branch
    • Triggered by every push to main
    • Updates your custom domain instantly
    • Zero manual steps required
    Preview Deployother branches / PRs
    • Unique shareable URL per push
    • Safe place to test before going live
    • Ideal for client review or QA

    11Vercel Free Tier vs Paid Plans

    For most beginners, portfolios, small businesses and even many AI-generated marketing sites, the free plan is genuinely enough to launch on.

    PlanBest ForIncludes
    Hobby (Free)Personal projects, portfolios, small business sites, learningUnlimited personal projects, automatic HTTPS, vercel.app subdomain, unlimited preview deployments
    ProFreelancers & small teams needing more bandwidth, analytics and team collaborationHigher usage limits, team features, advanced analytics, priority support
    EnterpriseLarge businesses with strict compliance, SLA or scale requirementsCustom limits, dedicated support, advanced security controls
    ✅ Why Beginners Love It
    • No credit card required to start
    • Free SSL and global CDN by default
    • Deploys in minutes, not hours
    ⚠️ Where It Can Trip You Up
    • Usage limits on the free tier for high-traffic sites
    • Some backend/database needs require separate services
    • Team collaboration features are Pro-only

    12Common Errors & How to Fix Them

    • “Build failed” with no clear reason: Open the build logs in your Vercel dashboard — the actual error line is almost always there, even if the summary message isn’t specific.
    • 404 on every page except the homepage: Usually a routing/output directory mismatch — confirm the Output Directory setting matches where your build actually places files.
    • “Module not found” errors: A dependency referenced in your code isn’t listed in package.json — this is common with AI-generated projects that assumed a library was already installed.
    • Environment variable is undefined in production: You likely added it after the last deploy — trigger a redeploy so the new value is picked up.
    • Custom domain shows “Invalid Configuration”: Double-check the DNS record values against exactly what Vercel’s dashboard shows, and allow time for propagation before assuming it’s broken.
    🎓 Expert Insight from Impex Infotech
    “Most beginners assume deploying is the hard part — it isn’t. The hard part is what comes after: connecting the right domain, keeping the site fast, adding real SEO structure, and turning an AI-generated first draft into something that actually converts visitors into customers. We see this constantly with founders who prompt an entire site into existence in an afternoon and then need a real team to take it from ‘live’ to ‘working.’ As one of the best IT companies in Rajkot, that’s the gap we fill for clients across India, Australia and the US.” — Impex Infotech Engineering Team

    13When to Bring In a Professional Team

    Deploying an AI-generated or hand-built project on Vercel is genuinely something a beginner can do in an afternoon. Where people usually get stuck is everything around the deployment: making the AI-generated design actually look professional, wiring up a real backend or database, setting up proper SEO, connecting analytics, and making sure the site is fast and secure enough to put in front of real customers. That’s the point where working with an experienced website designer in Rajkot or a full-stack development team starts to pay for itself.

    Impex Infotech works with founders and businesses across Rajkot, Gujarat, wider India, Australia and the USA who’ve used AI tools to prototype a site and now want it properly deployed, polished and maintained — as well as businesses who want a fully custom build from scratch, including AI-integrated web apps. As a best AI company in Rajkot for practical, production-ready implementations (not just prototypes), we handle the entire pipeline: GitHub setup, Vercel deployment, custom domains, ongoing updates, and design refinement.

    Built a site with AI but stuck on going live?

    Send us your project — AI-generated or custom-built — and Impex Infotech will push it to GitHub, deploy it on Vercel, connect your domain and keep it running. We serve clients across Rajkot, India, Australia and the USA.

    Get a Free Consultation →

    14Frequently Asked Questions

    How do I deploy a project on Vercel using GitHub?

    Push your project to a GitHub repository, sign in to vercel.com with your GitHub account, click “Add New Project,” import the repository, confirm the framework and build settings, then click Deploy. Vercel builds and publishes the site in under a minute and gives every future push its own preview URL.

    Is Vercel free to use for beginners?

    Yes. Vercel’s Hobby plan is free and includes unlimited personal projects, automatic HTTPS, a vercel.app subdomain, and unlimited preview deployments, making it a common first choice for students, freelancers and small businesses.

    Can I deploy a website that Claude or ChatGPT generated for me?

    Yes. Save the AI tool’s generated HTML, CSS, JS (or React/Next.js) files into a folder, initialise it as a Git repository, push it to GitHub, then import that repository into Vercel. The deployment steps are identical regardless of whether a human or an AI wrote the code.

    Do I need to know coding to deploy on Vercel?

    You need to run a handful of Git commands (git init, git add, git commit, git push) or use GitHub Desktop’s buttons, but you don’t need to understand the underlying code. Many beginners deploy AI-generated sites without writing a single line themselves.

    Why won’t my Vercel deployment build?

    The most common causes are a missing or wrong build command, a framework Vercel couldn’t auto-detect, missing environment variables, or a package.json that references dependencies not committed to the repository. Check the build logs in the Vercel dashboard for the exact error line.

    How do I connect a custom domain to my Vercel project?

    In your Vercel project, open Settings → Domains, add your domain, then update your DNS: either point an A record to Vercel’s IP or set a CNAME for a subdomain, or change your domain’s nameservers if you want Vercel to fully manage DNS.

    What is the difference between a preview deployment and a production deployment?

    Every push to a non-main branch or every pull request gets its own preview URL for testing, while pushes to your main/production branch automatically update your live custom domain. This lets you test changes safely before they go live.

    Does Vercel work with static HTML sites, not just React or Next.js?

    Yes. Vercel supports plain static HTML/CSS/JS, and frameworks including Next.js, React, Vue, Astro, Svelte, and more. For a static site with no build step, you can leave the build command blank and set the output directory to the folder containing your files.

    How long does a Vercel deployment take?

    Most small to medium projects deploy in 30 seconds to 3 minutes. Build time depends on the framework, the number of dependencies, and whether Vercel can use a cached build from a previous deployment.

    Can I automate deployments so every GitHub push goes live automatically?

    Yes — this is Vercel’s default behaviour once you connect a GitHub repository. Every push to your production branch triggers an automatic build and deploy with zero manual steps, and you can further customise this with GitHub Actions if you need custom CI/CD logic.

    What happens if I push broken code to GitHub?

    If the build fails, Vercel keeps your last successful production deployment live — a broken push does not take your site down. You’ll see the failed build in your dashboard with logs explaining what went wrong, so you can fix it and push again.

    Can Impex Infotech deploy and maintain my Vercel project for me?

    Yes. Impex Infotech, a website development company in Rajkot serving clients across India, Australia and the USA, can take your AI-generated or custom-built site, push it to GitHub, deploy it on Vercel, connect your domain and manage ongoing updates.

    📚 References & Further Reading
    1. Vercel Documentation — Deploying Git Repositories & Vercel for GitHub
    2. GitHub Docs — Getting Started with Git
    3. Vercel Documentation — Environment Variables & Custom Domains
    4. Next.js Documentation — Deployment

    Recent Posts

    How to Deploy Projects on Vercel with GitHub: A Beginner’s Guide
    Web Development
    By Varun Avlani / August 11, 2026

    How to Deploy Projects on Vercel with GitHub: A Beginner’s Guide

    How to Deploy Projects on Vercel with GitHub: A Beginner's Guide ⏱ 16 min read · Includes a section on...

    Read More
    How to Use AI for Social Media Marketing to Boost Engagement
    Social Media Marketing
    By Varun Avlani / August 11, 2026

    How to Use AI for Social Media Marketing to Boost Engagement

    How to Use AI for Social Media Marketing to Boost Engagement ⏱ 15 min read · Includes a step-by-step section...

    Read More
    SEO vs AEO vs GEO 2026 Does Your Business Need All Three
    SEO
    By Varun Avlani / July 31, 2026

    SEO vs AEO vs GEO 2026 Does Your Business Need All Three

    SEO vs AEO vs GEO in 2026: What Do They Mean and Does Your Business Need All Three? A plain...

    Read More

    Recent Posts

    How to Deploy Projects on Vercel with GitHub: A Beginner’s Guide
    Web Development
    By Varun Avlani / August 11, 2026

    How to Deploy Projects on Vercel with GitHub: A Beginner’s Guide

    How to Deploy Projects on Vercel with GitHub: A Beginner's Guide ⏱ 16 min read · Includes a section on...

    Read More
    How to Use AI for Social Media Marketing to Boost Engagement
    Social Media Marketing
    By Varun Avlani / August 11, 2026

    How to Use AI for Social Media Marketing to Boost Engagement

    How to Use AI for Social Media Marketing to Boost Engagement ⏱ 15 min read · Includes a step-by-step section...

    Read More
    SEO vs AEO vs GEO 2026 Does Your Business Need All Three
    SEO
    By Varun Avlani / July 31, 2026

    SEO vs AEO vs GEO 2026 Does Your Business Need All Three

    SEO vs AEO vs GEO in 2026: What Do They Mean and Does Your Business Need All Three? A plain...

    Read More