From 630e8a32ed0c925c690e52a8e3a9be62f7542003 Mon Sep 17 00:00:00 2001 From: Patrick Fic <> Date: Thu, 8 Oct 2020 08:27:02 -0700 Subject: [PATCH] Updated deployment script. --- client/package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/client/package.json b/client/package.json index cbf7c1f5e..9e835c81f 100644 --- a/client/package.json +++ b/client/package.json @@ -64,6 +64,7 @@ "analyze": "source-map-explorer 'build/static/js/*.js'", "start": "react-scripts start", "build": "REACT_APP_GIT_SHA=`git rev-parse --short HEAD` react-scripts build", + "build-deploy": "REACT_APP_GIT_SHA=`git rev-parse --short HEAD` react-scripts build && $ s3cmd sync build/* s3://imex-online-production && echo '🚀 Deployed!'", "test": "react-scripts test", "eject": "react-scripts eject", "madge": "madge --image ./madge-graph.svg --extensions js,jsx,ts,tsx --circular ."