diff --git a/deploy.sh b/deploy.sh index a22c8cd..6d228b6 100755 --- a/deploy.sh +++ b/deploy.sh @@ -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