BootstrapAdmin/scripts/linux/deploy-client.sh

12 lines
379 B
Bash
Raw Normal View History

2019-09-29 11:01:25 +08:00
#! /bin/bash
cd ~/BootstrapAdmin
git pull
dotnet publish src/client/Bootstrap.Client -c Release
2020-11-18 17:07:14 +08:00
rm -f ~/BootstrapAdmin/src/client/Bootstrap.Client/bin/Release/net5.0/publish/appsettings*.json
2019-09-29 11:01:25 +08:00
systemctl stop ba.client
2020-11-18 17:07:14 +08:00
\cp -fr ~/BootstrapAdmin/src/client/Bootstrap.Client/bin/Release/net5.0/publish/* /usr/local/ba/client/
2019-09-29 11:01:25 +08:00
systemctl start ba.client
systemctl status ba.client -l