deploy script now builds

This commit is contained in:
watsonb8 2019-08-09 17:25:03 -04:00
parent f682c0e380
commit a67674b3d3

View File

@ -4,9 +4,10 @@ remote_server="192.168.1.31"
deploy_location="/home/bmw/homebridge-harmony-control"
homebridge_location="/var/lib/homebridge/"
#build
tsc --build
#copy files to remote machine
scp -r bin $remote_user@$remote_server:$deploy_location
scp -r src $remote_user@$remote_server:$deploy_location
scp package.json $remote_user@$remote_server:$deploy_location
#install package