diff --git a/server/package.json b/server/package.json index 06d06e4..7ff0b02 100644 --- a/server/package.json +++ b/server/package.json @@ -7,7 +7,7 @@ "start": "babel-node src/server.js", "start:prod": "NODE_ENV=production node dist/server.js", "build": "rm -rf dist && babel src -d dist -s", - "deploy": "rsync -vr -e ssh --exclude-from .rsync-exclude * $SNAP_DEPLOY_USER@$SNAP_DEPLOY_HOST:deighton-ar-server/ && ssh $SNAP_DEPLOY_USER@$SNAP_DEPLOY_HOST 'cd deighton-ar-server; npm install; sudo ./ops restart; sudo ./ops --test restart'", + "deploy": "rsync -vr -e ssh --exclude-from .rsync-exclude * $SNAP_DEPLOY_USER_HOST:deighton-ar-server/ && ssh $SNAP_DEPLOY_USER_HOST 'cd deighton-ar-server; npm install; sudo ./ops restart; sudo ./ops --test restart'", "test": "jest", "actor:api": "monzilla 'src/api/**/*.js:src/database/**/*.js' -- babel-node src/api/index.js", "actor:api:debug": "babel-node --inspect-brk src/api/index.js", diff --git a/website/package.json b/website/package.json index ed8d99a..63ac48a 100644 --- a/website/package.json +++ b/website/package.json @@ -62,7 +62,7 @@ "scripts": { "start": "node scripts/start.js", "build": "node scripts/build.js", - "deploy": "rsync -vr -e ssh build/* $SNAP_DEPLOY_USER@$SNAP_DEPLOY_HOST:deighton-ar-website/", + "deploy": "rsync -vr -e ssh build/* $SNAP_DEPLOY_USER_HOST:deighton-ar-website/", "lint": "eslint --ext .js --ext .jsx src/", "lint:fix": "eslint --ext .js --ext .jsx --fix src/" },