From 9f9075c677e425280080013125ea572b1d518368 Mon Sep 17 00:00:00 2001 From: Anmol Varma Date: Sun, 5 Apr 2020 14:51:06 +0530 Subject: [PATCH] feat: deploy to github pages --- gatsby-config.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gatsby-config.js b/gatsby-config.js index b033a8a..09dd11d 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -1,5 +1,5 @@ module.exports = { - pathPrefix: `./quizzzes`, + pathPrefix: `/quizzzes`, siteMetadata: { title: `QUIZZZES`, description: `Take football transfer quizes, guess players based on the clubs they have been and beat your friends to show your true power!`, diff --git a/package.json b/package.json index 0a35edc..82fcd19 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ "start": "npm run develop", "serve": "gatsby serve", "clean": "gatsby clean", - "deploy": "gatsby build --prefix-paths && gh-pages -d public", + "deploy": "gatsby build && gh-pages -d public -b master", "test": "echo \"Write tests! -> https://gatsby.dev/unit-testing\" && exit 1" }, "repository": {