mirror of
https://gitee.com/LongbowEnterprise/BootstrapBlazor.git
synced 2024-12-05 05:29:47 +08:00
0d223585a3
* build: 增加发布脚本 * build: 移除 wasm 工程 PostPublish 脚本 * refactor: 移除 gh-pages 脚本
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
|