Explorar el Código

Adding a UI deploy script

Kirk Trombley hace 5 años
padre
commit
eaba472482
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      client/package.json

+ 2 - 1
client/package.json

@@ -15,7 +15,8 @@
     "start": "react-scripts start",
     "build": "react-scripts build",
     "test": "react-scripts test",
-    "eject": "react-scripts eject"
+    "eject": "react-scripts eject",
+    "deploy": "scp -r build hiram:/opt/terrassumptions/srv/build-$(date +'%Y-%m-%dT%H:%M:%S')"
   },
   "eslintConfig": {
     "extends": "react-app"