commit 5a11929c686c4227c2b8417d748db6e504e9dd57
parent 920baf2a3359bc7ab4684da3ddc3d28b612b2dd6
Author: Agastya Chandrakant <me@hanabi.in>
Date: Wed, 11 Mar 2020 13:09:08 +0530
deploy script
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/package.json b/package.json
@@ -26,6 +26,7 @@
},
"description": "My favourite quotes",
"devDependencies": {
+ "gh-pages": "^2.2.0",
"prettier": "^1.19.1"
},
"keywords": [
@@ -41,6 +42,7 @@
"scripts": {
"build": "gatsby clean && gatsby build",
"clean": "gatsby clean",
+ "deploy": "gatsby clean && gatsby build && gh-pages -d public",
"develop": "gatsby clean && gatsby develop",
"format": "prettier --write \"**/*.{js,jsx,json,md}\"",
"ps": "gatsby clean && gatsby build && gatsby serve",