#!/bin/bash
yarn run build
rsync -avr --delete-after --exclude ".git" . root@manage.wyr.me:/root/blog-client
ssh root@manage.wyr.me 'pm restart blog-client'