© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2021
N. BiswasAdvanced Gatsby Projectshttps://doi.org/10.1007/978-1-4842-6640-3_9

9. Deploying the Recipe Site in Netlify

Nabendu Biswas1  
(1)
Bangalore, India
 

In the previous chapter, we added images in the Firebase database and learned to use them in our project using gatsby-image. After that we displayed them on our site. Our project is almost complete and it’s time to deploy it in Netlify. Before that, though, we need to create an environment file, so that our Firebase credentials don’t end in GitHub.

Creating an Environment File

Open your firebase.json file in the root directory (Figure 9-1). We need to copy everything from this file.
Figure 9-1

firebase.json ...

Get Advanced Gatsby Projects: Create Two Advanced Sites Using Technologies that Compliment Gatsby now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.