From 371682b4f7b56384d6c9cca56dab2b202197d00d Mon Sep 17 00:00:00 2001 From: Shahed Nasser Date: Wed, 6 Jul 2022 17:38:51 +0300 Subject: [PATCH] docs: added deploy to netlify buttons to Gatsby guides (#1810) --- .../storefront/deploying-gatsby-on-netlify.md | 4 ++-- docs/content/starters/gatsby-medusa-starter.md | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/content/deployments/storefront/deploying-gatsby-on-netlify.md b/docs/content/deployments/storefront/deploying-gatsby-on-netlify.md index 7263edcade..8cf6526d4a 100644 --- a/docs/content/deployments/storefront/deploying-gatsby-on-netlify.md +++ b/docs/content/deployments/storefront/deploying-gatsby-on-netlify.md @@ -2,9 +2,9 @@ In this document, you’ll learn how to deploy the Gatsby Storefront on [Netlify](https://www.netlify.com/). - +[![Deploy to Netlify](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/medusajs/gatsby-starter-medusa) ## Prerequisites diff --git a/docs/content/starters/gatsby-medusa-starter.md b/docs/content/starters/gatsby-medusa-starter.md index 794cda621c..0d7178e026 100644 --- a/docs/content/starters/gatsby-medusa-starter.md +++ b/docs/content/starters/gatsby-medusa-starter.md @@ -4,6 +4,12 @@ This document guides you to install and set up the Gatsby Storefront for your Me ![Gatsby Storefront Quick Look](https://i.imgur.com/LcAsi8r.gif) +## Instant Deployment to Netlify + +Instead of manually following this guide to install then later deploy the Gatsby Storefront, you can deploy the Gatsby Storefront to Netlify with this button: + +[![Deploy to Netlify](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/medusajs/gatsby-starter-medusa) + ## Prerequisites This document assumes you already have a Medusa server installed. If you don’t, please follow the [Quickstart guide for the Medusa server](../quickstart/quick-start.md) to learn how to do it. @@ -14,12 +20,6 @@ You should also have the Gatsby CLI installed: npm install gatsby-cli -g ``` - - ## Installation 1\. Create a new Gatsby project using the [Medusa starter template](https://github.com/medusajs/gatsby-starter-medusa):