BootstrapBlazor3/scripts/linux/deploy-blazor.sh
Argo 0d223585a3 !551 build(#I1WYWT): 增加 Centos 自动部署脚本
* build: 增加发布脚本
* build: 移除 wasm 工程 PostPublish 脚本
* refactor: 移除 gh-pages 脚本
2020-09-28 01:47:33 +08:00

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