GitHub + Vercel

Put a website on Git, then host it on Vercel.

This page is a simple starting point for anyone who wants to turn a local folder into a published website using GitHub and Vercel.

Workflow

Three simple steps

1

Create the GitHub repo

Make a new repository in GitHub, then connect this folder to it with git remote add origin.

2

Push your code

Commit the files locally, then push them to GitHub so the repository has your website files.

3

Deploy on Vercel

Import the GitHub repository into Vercel, let it build, and Vercel gives you a live URL.

Repo setup

How to create the GitHub repository

  1. Go to GitHub and sign in.
  2. Click the plus icon in the top right and choose New repository.
  3. Name it something like website-to-vercel.
  4. Leave it empty for now if you want me to push the files into it.
  5. Create the repo, then send me the repository URL.

I need this from you next

  • The GitHub repository URL
  • Your GitHub username or org name
  • Whether the repo should be public or private

Vercel

How hosting works

Once the repo exists on GitHub, sign in to Vercel, choose New Project, import the repository, and deploy. For a plain static site like this one, Vercel can usually deploy without any special configuration.