修改发布
parent
d1a57c6e98
commit
4ea9f7e6ea
|
@ -4440,11 +4440,6 @@
|
||||||
全局阅片显示类型
|
全局阅片显示类型
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="P:IRaCIS.Core.Application.Service.Reading.Dto.ReadingQuestionTrialView.ConvertShowType">
|
|
||||||
<summary>
|
|
||||||
转化显示类型
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="P:IRaCIS.Core.Application.Service.Reading.Dto.ReadingQuestionTrialView.DefaultValue">
|
<member name="P:IRaCIS.Core.Application.Service.Reading.Dto.ReadingQuestionTrialView.DefaultValue">
|
||||||
<summary>
|
<summary>
|
||||||
默认值
|
默认值
|
||||||
|
@ -4700,11 +4695,6 @@
|
||||||
全局阅片显示类型
|
全局阅片显示类型
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="P:IRaCIS.Core.Application.Service.Reading.Dto.ReadingQuestionSystemView.ConvertShowType">
|
|
||||||
<summary>
|
|
||||||
转化显示类型
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="P:IRaCIS.Core.Application.Service.Reading.Dto.ReadingQuestionSystemView.DefaultValue">
|
<member name="P:IRaCIS.Core.Application.Service.Reading.Dto.ReadingQuestionSystemView.DefaultValue">
|
||||||
<summary>
|
<summary>
|
||||||
默认值
|
默认值
|
||||||
|
@ -5025,11 +5015,6 @@
|
||||||
全局阅片显示类型
|
全局阅片显示类型
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="P:IRaCIS.Core.Application.Service.Reading.Dto.AddOrUpdateReadingQuestionSystemInDto.ConvertShowType">
|
|
||||||
<summary>
|
|
||||||
转化显示类型
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="P:IRaCIS.Core.Application.Service.Reading.Dto.AddOrUpdateReadingQuestionSystemInDto.DefaultValue">
|
<member name="P:IRaCIS.Core.Application.Service.Reading.Dto.AddOrUpdateReadingQuestionSystemInDto.DefaultValue">
|
||||||
<summary>
|
<summary>
|
||||||
默认值
|
默认值
|
||||||
|
@ -5175,11 +5160,6 @@
|
||||||
全局阅片显示类型
|
全局阅片显示类型
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="P:IRaCIS.Core.Application.Service.Reading.Dto.AddOrUpdateReadingQuestionTrialInDto.ConvertShowType">
|
|
||||||
<summary>
|
|
||||||
转化显示类型
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="P:IRaCIS.Core.Application.Service.Reading.Dto.AddOrUpdateReadingQuestionTrialInDto.DefaultValue">
|
<member name="P:IRaCIS.Core.Application.Service.Reading.Dto.AddOrUpdateReadingQuestionTrialInDto.DefaultValue">
|
||||||
<summary>
|
<summary>
|
||||||
默认值
|
默认值
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<OutputType>Exe</OutputType>
|
<OutputType>Exe</OutputType>
|
||||||
|
|
|
@ -8,22 +8,32 @@ try
|
||||||
// 创建一个SSH客户端实例
|
// 创建一个SSH客户端实例
|
||||||
using (var client = new SshClient("123.56.94.154", "Administrator", "WHxckj2019"))
|
using (var client = new SshClient("123.56.94.154", "Administrator", "WHxckj2019"))
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
// 连接到远程服务器
|
// 连接到远程服务器
|
||||||
client.Connect();
|
client.Connect();
|
||||||
//&& .\\IRaCIS_Vue_Web.bat
|
//&& .\\IRaCIS_Vue_Web.bat
|
||||||
|
|
||||||
//&& ./IRaCIS_Vue_Web.bat
|
//&& ./IRaCIS_Vue_Web.bat
|
||||||
string command = "cd C:\\Users\\Administrator\\bat && .\\IRaCIS_Vue_Web.bat ";
|
string command = $@"cd C:\Users\Administrator\VueSourceCode && npm i && npm run build";
|
||||||
|
|
||||||
|
|
||||||
using (var cmd = client.CreateCommand(command))
|
using (var cmd = client.CreateCommand(command))
|
||||||
{
|
{
|
||||||
|
|
||||||
|
Console.WriteLine("开始执行");
|
||||||
|
|
||||||
|
Console.WriteLine(command);
|
||||||
|
|
||||||
|
|
||||||
var output = cmd.Execute();
|
var output = cmd.Execute();
|
||||||
|
|
||||||
|
|
||||||
Console.WriteLine(output);
|
Console.WriteLine(output);
|
||||||
|
|
||||||
|
|
||||||
|
var output3 = cmd.Execute($@"xcopy /Y /Q ""C:\Users\Administrator\VueSourceCode\dist\index.html"" ""D:\Develop\PublishSite\IRaCIS.Vue.Web\dist\""");
|
||||||
|
|
||||||
|
Console.WriteLine(output);
|
||||||
|
|
||||||
|
Console.WriteLine("发布成功");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue