From 3c5a0694e901ec97a185f701a11fc6096814db9c Mon Sep 17 00:00:00 2001 From: Phuoc Nguyen Date: Sat, 23 Nov 2019 13:11:59 +0700 Subject: [PATCH] Deploy manually --- .gitignore | 1 + package.json | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index db4c6d9..506e98f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ +.netlify dist node_modules \ No newline at end of file diff --git a/package.json b/package.json index 41241c9..091b980 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,8 @@ "prebuild": "rm -rf dist/* && npm run copy", "build": "webpack --mode production", "export": "react-snap", - "postbuild": "npm run export" + "postbuild": "npm run export", + "deploy": "netlify deploy --dir=dist --prod" }, "dependencies": { "@loadable/component": "^5.10.3",