Skip to main content

Deploying Your First Site

  1. Visit https://www.netlify.com/ and click the "Sign up" button in the top navigation

Netlify homepage

  1. Choose "GitHub" on the sign up page

Netlify sign up page

  1. If you are logged out of GitHub, then log in
  2. Read the permissions and click the "Authorize netlify" button

Granting GitHub account permissions to Netlify

  1. If prompted to "Tell us about yourself", fill out the information. Note: only the "I'm using Netlify for" question is required, so you can skip everything else if you want
  2. Click the "Import from Git" button

Choose how to deploy your site on Netlify

  1. When asked to connect a Git provider, click the "GitHub" button

Choose your site's Git provider on Netlify

  1. A pop-up window will ask for some more GitHub permissions. Click the "Authorize Netlify" button

Granting further GitHub permissions to Netlify

  1. You will be asked to "Install Netlify". If you are prompted "Where do you want to install Netlify", choose your personal GitHub username. Do NOT choose Code Your Future's account, as this won't work!

Installing Netlify into your GitHub account

  1. Select the GitHub repo which you would like to create a site from

Choosing the GitHub repo to create your site from

  1. Under "Branch to deploy" choose the "main" branch of your repo, which is usually called main. You do not need to change anything under "Customize build settings", Netlify will do this for you

Choosing the branch to create your site from

  1. Set your settings to build the site. By default it will be build command npm run build and publish directory build. After that, Click the "Deploy site" button.

Choosing the build settings to create your site

  1. It may take a few minutes before the deploy is complete.

The site is deploying

  1. Once the site is deployed, a pop up will appear saying that the deploy was sucessful. Click on View site deploy.

The site is live

  1. Click on the .netlify.app url to visit your site.

Visit the site