diff --git a/irc_api.drone.yml b/irc_api.drone.yml index 689c4c2bd..a8284defb 100644 --- a/irc_api.drone.yml +++ b/irc_api.drone.yml @@ -65,7 +65,11 @@ server: steps: - name: publish-test-study commands: + #拉取代码 并停止服务 - Start-Process "C:\CICD\Test.Study\netcore_Publish.bat" -Wait + - cd C:\CICD\Test.Study\netcore_repo + - dotnet publish .\IRaCIS.Core.API\IRaCIS.Core.API.csproj -o D:\Develop\Test_Study_PublishSite\IRaCIS.NetCore.API + - Start-Service -Name "Test_Study_API" trigger: branch: