Skip to content

Commit 9004b55

Browse files
committed
fix iis deploy
1 parent e9c4097 commit 9004b55

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/dotnet-cd.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ jobs:
3535
steps:
3636
- name: Deploy to IIS
3737
run: |
38-
stop-webapppool rubberduckvba
39-
stop-iissite -Name api -Confirm: $false
40-
Copy-Item ${{env.DOTNET_ROOT}}\pub\* C:/inetpub/wwwroot -Recurse -Force
38+
stop-webapppool -name "rubberduckvba"
39+
stop-iissite -name api -confirm: $false
40+
copy-item C:/pub/* C:/inetpub/wwwroot -Recurse -Force
4141
start-webapppool rubberduckvba
4242
start-iissite api

0 commit comments

Comments
 (0)