From 2a3d14dda186a3e0a5bf120b07a36f4be66d97b0 Mon Sep 17 00:00:00 2001 From: James Gareth Smith Date: Mon, 1 Apr 2019 09:03:49 +0200 Subject: [PATCH] chore: added a script to ease staging deploy (#6) --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 7d934d5..df41d1b 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,8 @@ "start": "react-scripts start", "build": "react-scripts build", "test": "react-scripts test", - "eject": "react-scripts eject" + "eject": "react-scripts eject", + "staging-deploy": "npm run build && aws s3 sync --acl public-read build s3://status-discover-dapps-staging/ --delete && rm -rf build" }, "husky": { "hooks": {