From 9004b5566ebc0a832b454957435a11c6e6e3af46 Mon Sep 17 00:00:00 2001 From: Mathieu Guindon Date: Sun, 10 Nov 2024 04:08:48 -0500 Subject: [PATCH] fix iis deploy --- .github/workflows/dotnet-cd.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/dotnet-cd.yml b/.github/workflows/dotnet-cd.yml index 68379b8..8a95b03 100644 --- a/.github/workflows/dotnet-cd.yml +++ b/.github/workflows/dotnet-cd.yml @@ -35,8 +35,8 @@ jobs: steps: - name: Deploy to IIS run: | - stop-webapppool rubberduckvba - stop-iissite -Name api -Confirm: $false - Copy-Item ${{env.DOTNET_ROOT}}\pub\* C:/inetpub/wwwroot -Recurse -Force + stop-webapppool -name "rubberduckvba" + stop-iissite -name api -confirm: $false + copy-item C:/pub/* C:/inetpub/wwwroot -Recurse -Force start-webapppool rubberduckvba start-iissite api