#!/bin/bash
# This is our pay distributed app.

echo "******webpack dist********"
npm run build 
echo '******starting tar pacloud.tar********'
rm -rf example.tar 
tar -cvf example.tar ./dist/ 

## upload
echo "*****upload*****"
scp example.tar  root@10.20.23.152:/pay/development/distributed_static/
ssh  root@10.20.23.152