mirror of
https://gitee.com/LongbowEnterprise/BootstrapBlazor.git
synced 2024-12-11 01:15:38 +08:00
11 lines
297 B
Bash
11 lines
297 B
Bash
|
#! /bin/bash
|
||
|
|
||
|
cd ~/BootstrapBlazor
|
||
|
git pull
|
||
|
dotnet publish src/BootstrapBlazor.WebConsole -c Release
|
||
|
|
||
|
systemctl stop ba.blazor
|
||
|
\cp -fr ~/BootstrapBlazor/src/BootstrapBlazor.WebConsole/bin/Release/netcoreapp3.1/publish/* /usr/local/ba/blazor
|
||
|
systemctl start ba.blazor
|
||
|
systemctl status ba.blazor -l
|