From 79dc7b2b15cb3a55dd20f8f91fa23b45319c2a84 Mon Sep 17 00:00:00 2001 From: SocksOnHead Date: Wed, 16 Oct 2024 21:03:11 +0200 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index afa4d6a..52e9159 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -85,11 +85,7 @@ jobs: - name: Copy .NET Publish Files to IIS Server run: | + iisreset /stop xcopy ".\output\dotnet\*" "C:\inetpub\applications\bytefy.image" /s /i /y xcopy ".\tools\dist\*" "C:\inetpub\wwwroot\bytefy" /s /i /y - - - name: Restart IIS - run: | - Import-Module WebAdministration - Restart-WebAppPool -Name "Bytefy" # Change to your App Pool Name - Restart-WebAppPool -Name "Bytefy.image" # Change to your App Pool Name + iisreset /start