Movatterモバイル変換


[0]ホーム

URL:


NTL DEPLOY:Try the new AI workflow →

Guides & Tutorials

A Step-by-Step Guide: Deploying on Netlify

Eli Williamson
Jason Lengstorf
Consultant

Published

Tags


Share

In this post

This guide was most recently updated on April 27th, 2020.

Today, let’s take a look at how to host a static website on Netlify, including setting up continuous deployment.

Getting started on Netlify

In this tutorial, we will show you how easy it is to launch your site on Netlify. If you are not already a Netlify user, go ahead andsign up for free first.

If you prefer video, this tutorial is also available asan egghead lesson.

Deploy a Site to Netlify From Git

Step 1: Add Your New Site

step 1 - add new site in Netlify app

Creating a new site on Netlify is simple. Once you’ve logged in, you’ll be taken tohttps://app.netlify.com. If you’re just starting out, there’s only one option, Click theAdd A New Project button shown above.

Step 2: Link to Your GitHub (or supported version-control tool of choice)

Clicking “Add A New Project” brings you to this screen:

step 2 - link with git provider like GitHub or Gitlab

Be sure to push your repo to GitHub, so that all we’ll need to do is link Netlify to GitHub. Click theGitHub button as illustrated in the screenshot above.

Step 3: Authorize Netlify

step 3 - authorize auth Netlify app

It’s time to allow Netlify and GitHub to talk to each other. Clicking theAuthorize Application button will do just that. Like it says in the image below, Netlify doesn’t store your GitHub access token on our servers. If you’d like to know more about the permissions Netlify requests and why we need them, you can visit ourdocumentation on Git provider permissions.

Step 4: Select Your Repo

step 4 - selecting project repo to connect to Netlify

Now that you’ve connected Netlify and GitHub, you can see a list of your Git repos. Choose the repo you’d like to deploy from the list.

Step 5: Configure Your Settings

step 5 - configure site settings in Netlify app

Here you can configure your options. Make sure your publish directory is where your public site files are placed after building the site (e.g.dist) and your build command is whatever you run to build the site (e.g.npm run build). Then click theDeploy site button to continue.

Step 6: Build Your Site

step 6 - building your site in Netlify

Now it’s time to sit back and relax. You did your part; let Netlify take care of the rest. It’ll only take a minute.

Step 7: All Done

Once the build completes, your site is live! Head to the overview and you can see the URL of your newly published site.

step 7 - Netlify app site deploys overview

Netlify automatically generated a name for your site. Let’s update that by visiting the settings tab and clicking “Change site name”:

step 8 - updating site name and url in Netlify app

There, that’s better. Looks pretty good, huh? Wasn’t that easy? To take it a step further,set up your custom domain.

Congratulations on your new site, and thanks for using Netlify!

Keep reading

Guides & TutorialsNovember 3, 2025

Restrict access to Netlify sites with passwords

  • Profile picture of Gehrig Kunz

    Gehrig Kunz

Guides & TutorialsOctober 21, 2025

5 prompts to try with Agent Runners

  • Profile picture of Gehrig Kunz

    Gehrig Kunz

Recent posts

Guides & TutorialsNovember 3, 2025

Restrict access to Netlify sites with passwords

  • Profile picture of Gehrig Kunz

    Gehrig Kunz

Opinions & InsightsOctober 23, 2025

Meet our Netlifolks: Hillary Wein

  • Profile picture of Netlify People Team

    Netlify People Team

News & AnnouncementsOctober 23, 2025

Introducing Netlify Skew Protection

  • Profile picture of Eduardo Bouças

    Eduardo Bouças

How do the best dev and marketing teams work together?


[8]ページ先頭

©2009-2025 Movatter.jp