From c3863f571f5105593c2357040fabe4a136a5353f Mon Sep 17 00:00:00 2001 From: Mike Schutte Date: Mon, 4 Mar 2019 23:25:21 -0500 Subject: [PATCH] Fix CNAME reset issue --- package.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package.json b/package.json index dd7400b..20a06ea 100644 --- a/package.json +++ b/package.json @@ -23,9 +23,8 @@ "build": "react-scripts build", "test": "react-scripts test --env=jsdom", "eject": "react-scripts eject", - "predeploy": "npm run build", "add-domain": "echo \"tmikeschu.com\" > build/CNAME", - "deploy": "gh-pages -d build -b master", + "deploy": "npm run build && npm run add-domain && gh-pages -d build -b master", "lint-staged": "$(npm bin)/lint-staged" }, "lint-staged": {