mirror of
https://github.com/Polaris-Entertainment/bytefy.git
synced 2026-04-09 09:29:39 +00:00
Update build.yml
This commit is contained in:
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@@ -85,11 +85,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Copy .NET Publish Files to IIS Server
|
- name: Copy .NET Publish Files to IIS Server
|
||||||
run: |
|
run: |
|
||||||
|
iisreset /stop
|
||||||
xcopy ".\output\dotnet\*" "C:\inetpub\applications\bytefy.image" /s /i /y
|
xcopy ".\output\dotnet\*" "C:\inetpub\applications\bytefy.image" /s /i /y
|
||||||
xcopy ".\tools\dist\*" "C:\inetpub\wwwroot\bytefy" /s /i /y
|
xcopy ".\tools\dist\*" "C:\inetpub\wwwroot\bytefy" /s /i /y
|
||||||
|
iisreset /start
|
||||||
- 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
|
|
||||||
|
|||||||
Reference in New Issue
Block a user