Buy Now and unlock this series
$
44
.99
$
34
.99
yours forever
$
44
.99
$
34
.99
Become a Pro and unlock everything
$
24
.99
per month
$
24
.99
Hosting On Netlify
Next, we are going to learn how to host our Gatsby site using Netlify. First, we are going to add our project GitHub. After we add the project to GitHub, we are going to connect Netlify to Git, pick the repository we created for the project, set up our build settings, and then deploy!
Downloads
Become a pro to download code and videos
Pro Gatsby 2
26 videos
Course Instructor
Scott Tolinski
- Pro Gatsby
40S - Getting Started With GatsbyJS
8M10S - Gatsby FIles Explained
12M22S - Creating Pages
9M29S - Working With Assets
7M50S - Intro To GraphQL
7M59S - GraphQL Static Queries
8M6S - Plugins & Gatsby Source Filesystem
9M27S - Working With Markdown
16M27S - Our Query In React
12M17S - Improving Our Query with Filtering and Sorting
11M3S - Gatsby Node
11M16S - Creating Pages From Markdown Files
9M1S - Page Query vs Static Query
8M45S - Context In Page Queries
6M3S - Static Query From Scratch & Page Listing
12M35S - Styled Components In Gatsby
14M44S - Styling Part 2
9M3S - Gatsby Image
13M19S - React Spring
12M16S - Building Our Static SIte
7M20S - Hosting On Netlify
8M18S - Netlify CMS
9M50S - Easy Sitemaps
5M30S - Progressive Web Apps With Gatsby
5M44S - Where To Go Next
4M18S
Comments
Thayna
almost 3 years ago [edited]
@Andre C Thank you Andre, I tried what you said and wasn't it. When I really read what netlify was telling me (that I had a problem with my gatsby-source-filesystem that my file system for /opt/build/repo/src/data/ didn't exist) I was able to solve (since I didn't have anything inside data I deleted it and took out
{ resolve: gatsby-source-filesystem, options: { name: data, path: ${__dirname}/src/data/, ignore: [**/\.*], // ignore files starting with a dot }, },
from my gatsby-config.js)Hope it helps someone else!
Andre C
almost 3 years ago
There is an issue deploying. delete yarn.lock, add package-lock.json to your .gitignore file, and make sure to 'npm upgrade --save' to update your package file to up to date dependencies. hopefully this helps. Scott, you should definitely point out this issue somewhere
Thayna
about 3 years ago
Hi, I've trying to deploy my site to netlify for days and I'm receiving the same error every time, already googled how to fix but nothing works. This is the error:
failed during stage 'building site': Build script returned non-zero exit code: 1
Want to join the conversation?
Become a Pro member today!