File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -58,10 +58,15 @@ jobs:
5858
5959 - name : deploy iis site
6060 run : |
61+ stop-webapppool -name "rubberduckvba-prod"
6162 stop-webapppool -name "api-prod"
6263 stop-iissite -name api-prod -confirm: $false
64+ stop-iissite -name rubberduckvba-prod -confirm: $false
6365 copy-item C:/pub/webroot/rubberduckvba.com/* C:/inetpub/wwwroot/rubberduckvba.com -Recurse -Force
6466 copy-item C:/inetpub/appsettings.prod.json C:/inetpub/wwwroot/rubberduckvba.com/appsettings.json -Force
6567 copy-item C:/inetpub/__Web.config C:/inetpub/wwwroot/rubberduckvba.com/wwwroot/browser/Web.config -Force
6668 start-webapppool api-prod
6769 start-iissite api-prod
70+ start-webapppool rubberduckvba-prod
71+ start-iissite rubberduckvba-prod
72+
Original file line number Diff line number Diff line change @@ -59,10 +59,14 @@ jobs:
5959
6060 - name : deploy iis site
6161 run : |
62+ stop-webapppool -name "DefaultAppPool"
6263 stop-webapppool -name "rubberduckvba"
6364 stop-iissite -name api -confirm: $false
65+ stop-iissite -name rubberduckvba -confirm: $false
6466 copy-item C:/pub/webroot/test.rubberduckvba.com/* C:/inetpub/wwwroot/test.rubberduckvba.com -Recurse -Force
6567 copy-item C:/inetpub/appsettings.test.json C:/inetpub/wwwroot/test.rubberduckvba.com/appsettings.json -Force
6668 copy-item C:/inetpub/__Web.config C:/inetpub/wwwroot/test.rubberduckvba.com/wwwroot/browser/Web.config -Force
6769 start-webapppool rubberduckvba
6870 start-iissite api
71+ start-webapppool DefaultAppPool
72+ start-iissite rubberduckvba
You can’t perform that action at this time.
0 commit comments