Skip to content

Commit

Permalink
updated deployment pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
asadsahi committed Nov 22, 2023
1 parent 64ce2af commit 11ed64c
Show file tree
Hide file tree
Showing 5 changed files with 101 additions and 77 deletions.
File renamed without changes.
21 changes: 21 additions & 0 deletions .github/workflows/sts-win.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: sts-win

on:
push:
branches:
- master
jobs:
build-deploy:
runs-on: self-hosted

steps:
- uses: actions/checkout@v2
- name: Build with dotnet
run: dotnet build AspNetCoreSpa.sln -c Release
- name: dotnet publish
run: dotnet publish src/Presentation/STS/STS.csproj -c Release -o publish
- name: Deploy to IIS
run: |
iisreset /stop
Copy-Item ./publish/* C:/inetpub/wwwroot/identityserver -Recurse -Force
iisreset /start
File renamed without changes.
21 changes: 21 additions & 0 deletions .github/workflows/web-win.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: web-win

on:
push:
branches:
- master
jobs:
build-deploy:
runs-on: self-hosted

steps:
- uses: actions/checkout@v2
- name: Build with dotnet
run: dotnet build AspNetCoreSpa.sln -c Release
- name: dotnet publish
run: dotnet publish src/Presentation/Web/Web.csproj -c Release -o publish
- name: Deploy to IIS
run: |
iisreset /stop
Copy-Item ./publish/* C:/inetpub/wwwroot/aspnetcorespa -Recurse -Force
iisreset /start
136 changes: 59 additions & 77 deletions AspNetCoreSpa.sln
Original file line number Diff line number Diff line change
@@ -1,108 +1,90 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.29418.71
# Visual Studio Version 17
VisualStudioVersion = 17.5.002.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{DE75BCFF-DB7E-48F6-BD0F-FBC5D36D560E}"
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{F16D432B-B83B-4C27-B2D8-7CAA83284E66}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "SolutionItems", "SolutionItems", "{604F21DF-7A37-4CC3-A0FF-E29F8CE3C2DC}"
ProjectSection(SolutionItems) = preProject
.gitignore = .gitignore
app_offline.htm = app_offline.htm
compodoc.jpg = compodoc.jpg
db.bat = db.bat
deploy.azure.ps1 = deploy.azure.ps1
deploy.heroku.ps1 = deploy.heroku.ps1
LICENSE = LICENSE
README.md = README.md
EndProjectSection
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Integration.Tests", "tests\Integration\Integration.Tests.csproj", "{355AEFC4-5511-4CE4-912C-330F874E5240}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{70506EDC-51C6-4ED4-AF6C-B5FFA508972A}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Web.Tests", "tests\Web\Web.Tests.csproj", "{0EB5037A-5574-40C6-B642-FB34C0AFA9D1}"
EndProject
Project("{E53339B2-1760-4266-BCC7-CA923CBCF16C}") = "docker-compose", "docker-compose.dcproj", "{A345DA20-825C-4494-9DC6-748C1192E135}"
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{250813E0-0A2C-472F-A704-9625111EA3B2}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Presentation", "Presentation", "{0C15B09D-0F06-4D0D-A527-2323E40ADA95}"
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Core", "Core", "{97E4929F-82FD-4C7E-922A-84329485443E}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Infrastructure", "Infrastructure", "{4811DFD1-82FA-4AF0-86AC-B52A182FB5CF}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Application", "src\Core\Application\Application.csproj", "{6B6C93CE-4AC2-4A69-B126-D78EDF6B674C}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Core", "Core", "{87BDAFCF-7697-4F9B-B8CF-7EF71EDA51D7}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Common", "src\Core\Common\Common.csproj", "{53E79B8D-3924-4B64-88A7-06AC0F5478A6}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Web.Tests", "tests\Web\Web.Tests.csproj", "{0E665079-35EA-4EC5-A65E-65D902BCFB3F}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Domain", "src\Core\Domain\Domain.csproj", "{3C132465-1792-49DD-A4B5-E0EED7424BFB}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Integration.Tests", "tests\Integration\Integration.Tests.csproj", "{996298CC-9581-4FD6-A673-8CB51C778759}"
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Infrastructure", "Infrastructure", "{CD0A1148-15A8-42E8-8B56-0F6B5B5AA0A9}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Web", "src\Presentation\Web\Web.csproj", "{87535772-3BC5-4565-85F3-DF2508936593}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Infrastructure", "src\Infrastructure\Infrastructure\Infrastructure.csproj", "{F819CD1A-F549-438E-8BC8-22AF11F7101F}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "STS", "src\Presentation\STS\STS.csproj", "{F5E827E7-8E46-4B63-9C81-3BA7F8A7BA15}"
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Presentation", "Presentation", "{FFDB1150-9635-425D-9996-54A2A6472858}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Application", "src\Core\Application\Application.csproj", "{2D8D060C-5C65-46C8-83C0-07F2B56A6B23}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "STS", "src\Presentation\STS\STS.csproj", "{2595F4C1-5F90-4186-A402-7060F9D21D4B}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Domain", "src\Core\Domain\Domain.csproj", "{55757AA7-C90B-4828-A3B8-6EC1E56EB27E}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Infrastructure", "src\Infrastructure\Infrastructure\Infrastructure.csproj", "{4495276A-B029-4AA4-962F-43AF668CB81E}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Common", "src\Core\Common\Common.csproj", "{12B5A168-D117-4E4C-8155-F241AF5F1649}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Web", "src\Presentation\Web\Web.csproj", "{6B4B71F9-DE65-4A50-BFA6-1A52273836C8}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{A345DA20-825C-4494-9DC6-748C1192E135}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A345DA20-825C-4494-9DC6-748C1192E135}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A345DA20-825C-4494-9DC6-748C1192E135}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A345DA20-825C-4494-9DC6-748C1192E135}.Release|Any CPU.Build.0 = Release|Any CPU
{0E665079-35EA-4EC5-A65E-65D902BCFB3F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{0E665079-35EA-4EC5-A65E-65D902BCFB3F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{0E665079-35EA-4EC5-A65E-65D902BCFB3F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{0E665079-35EA-4EC5-A65E-65D902BCFB3F}.Release|Any CPU.Build.0 = Release|Any CPU
{996298CC-9581-4FD6-A673-8CB51C778759}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{996298CC-9581-4FD6-A673-8CB51C778759}.Debug|Any CPU.Build.0 = Debug|Any CPU
{996298CC-9581-4FD6-A673-8CB51C778759}.Release|Any CPU.ActiveCfg = Release|Any CPU
{996298CC-9581-4FD6-A673-8CB51C778759}.Release|Any CPU.Build.0 = Release|Any CPU
{87535772-3BC5-4565-85F3-DF2508936593}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{87535772-3BC5-4565-85F3-DF2508936593}.Debug|Any CPU.Build.0 = Debug|Any CPU
{87535772-3BC5-4565-85F3-DF2508936593}.Release|Any CPU.ActiveCfg = Release|Any CPU
{87535772-3BC5-4565-85F3-DF2508936593}.Release|Any CPU.Build.0 = Release|Any CPU
{F5E827E7-8E46-4B63-9C81-3BA7F8A7BA15}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F5E827E7-8E46-4B63-9C81-3BA7F8A7BA15}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F5E827E7-8E46-4B63-9C81-3BA7F8A7BA15}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F5E827E7-8E46-4B63-9C81-3BA7F8A7BA15}.Release|Any CPU.Build.0 = Release|Any CPU
{2D8D060C-5C65-46C8-83C0-07F2B56A6B23}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{2D8D060C-5C65-46C8-83C0-07F2B56A6B23}.Debug|Any CPU.Build.0 = Debug|Any CPU
{2D8D060C-5C65-46C8-83C0-07F2B56A6B23}.Release|Any CPU.ActiveCfg = Release|Any CPU
{2D8D060C-5C65-46C8-83C0-07F2B56A6B23}.Release|Any CPU.Build.0 = Release|Any CPU
{55757AA7-C90B-4828-A3B8-6EC1E56EB27E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{55757AA7-C90B-4828-A3B8-6EC1E56EB27E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{55757AA7-C90B-4828-A3B8-6EC1E56EB27E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{55757AA7-C90B-4828-A3B8-6EC1E56EB27E}.Release|Any CPU.Build.0 = Release|Any CPU
{4495276A-B029-4AA4-962F-43AF668CB81E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{4495276A-B029-4AA4-962F-43AF668CB81E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{4495276A-B029-4AA4-962F-43AF668CB81E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{4495276A-B029-4AA4-962F-43AF668CB81E}.Release|Any CPU.Build.0 = Release|Any CPU
{12B5A168-D117-4E4C-8155-F241AF5F1649}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{12B5A168-D117-4E4C-8155-F241AF5F1649}.Debug|Any CPU.Build.0 = Debug|Any CPU
{12B5A168-D117-4E4C-8155-F241AF5F1649}.Release|Any CPU.ActiveCfg = Release|Any CPU
{12B5A168-D117-4E4C-8155-F241AF5F1649}.Release|Any CPU.Build.0 = Release|Any CPU
{355AEFC4-5511-4CE4-912C-330F874E5240}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{355AEFC4-5511-4CE4-912C-330F874E5240}.Debug|Any CPU.Build.0 = Debug|Any CPU
{355AEFC4-5511-4CE4-912C-330F874E5240}.Release|Any CPU.ActiveCfg = Release|Any CPU
{355AEFC4-5511-4CE4-912C-330F874E5240}.Release|Any CPU.Build.0 = Release|Any CPU
{0EB5037A-5574-40C6-B642-FB34C0AFA9D1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{0EB5037A-5574-40C6-B642-FB34C0AFA9D1}.Debug|Any CPU.Build.0 = Debug|Any CPU
{0EB5037A-5574-40C6-B642-FB34C0AFA9D1}.Release|Any CPU.ActiveCfg = Release|Any CPU
{0EB5037A-5574-40C6-B642-FB34C0AFA9D1}.Release|Any CPU.Build.0 = Release|Any CPU
{6B6C93CE-4AC2-4A69-B126-D78EDF6B674C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{6B6C93CE-4AC2-4A69-B126-D78EDF6B674C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{6B6C93CE-4AC2-4A69-B126-D78EDF6B674C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{6B6C93CE-4AC2-4A69-B126-D78EDF6B674C}.Release|Any CPU.Build.0 = Release|Any CPU
{53E79B8D-3924-4B64-88A7-06AC0F5478A6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{53E79B8D-3924-4B64-88A7-06AC0F5478A6}.Debug|Any CPU.Build.0 = Debug|Any CPU
{53E79B8D-3924-4B64-88A7-06AC0F5478A6}.Release|Any CPU.ActiveCfg = Release|Any CPU
{53E79B8D-3924-4B64-88A7-06AC0F5478A6}.Release|Any CPU.Build.0 = Release|Any CPU
{3C132465-1792-49DD-A4B5-E0EED7424BFB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{3C132465-1792-49DD-A4B5-E0EED7424BFB}.Debug|Any CPU.Build.0 = Debug|Any CPU
{3C132465-1792-49DD-A4B5-E0EED7424BFB}.Release|Any CPU.ActiveCfg = Release|Any CPU
{3C132465-1792-49DD-A4B5-E0EED7424BFB}.Release|Any CPU.Build.0 = Release|Any CPU
{F819CD1A-F549-438E-8BC8-22AF11F7101F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F819CD1A-F549-438E-8BC8-22AF11F7101F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F819CD1A-F549-438E-8BC8-22AF11F7101F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F819CD1A-F549-438E-8BC8-22AF11F7101F}.Release|Any CPU.Build.0 = Release|Any CPU
{2595F4C1-5F90-4186-A402-7060F9D21D4B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{2595F4C1-5F90-4186-A402-7060F9D21D4B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{2595F4C1-5F90-4186-A402-7060F9D21D4B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{2595F4C1-5F90-4186-A402-7060F9D21D4B}.Release|Any CPU.Build.0 = Release|Any CPU
{6B4B71F9-DE65-4A50-BFA6-1A52273836C8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{6B4B71F9-DE65-4A50-BFA6-1A52273836C8}.Debug|Any CPU.Build.0 = Debug|Any CPU
{6B4B71F9-DE65-4A50-BFA6-1A52273836C8}.Release|Any CPU.ActiveCfg = Release|Any CPU
{6B4B71F9-DE65-4A50-BFA6-1A52273836C8}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{0C15B09D-0F06-4D0D-A527-2323E40ADA95} = {DE75BCFF-DB7E-48F6-BD0F-FBC5D36D560E}
{4811DFD1-82FA-4AF0-86AC-B52A182FB5CF} = {DE75BCFF-DB7E-48F6-BD0F-FBC5D36D560E}
{87BDAFCF-7697-4F9B-B8CF-7EF71EDA51D7} = {DE75BCFF-DB7E-48F6-BD0F-FBC5D36D560E}
{0E665079-35EA-4EC5-A65E-65D902BCFB3F} = {70506EDC-51C6-4ED4-AF6C-B5FFA508972A}
{996298CC-9581-4FD6-A673-8CB51C778759} = {70506EDC-51C6-4ED4-AF6C-B5FFA508972A}
{87535772-3BC5-4565-85F3-DF2508936593} = {0C15B09D-0F06-4D0D-A527-2323E40ADA95}
{F5E827E7-8E46-4B63-9C81-3BA7F8A7BA15} = {0C15B09D-0F06-4D0D-A527-2323E40ADA95}
{2D8D060C-5C65-46C8-83C0-07F2B56A6B23} = {87BDAFCF-7697-4F9B-B8CF-7EF71EDA51D7}
{55757AA7-C90B-4828-A3B8-6EC1E56EB27E} = {87BDAFCF-7697-4F9B-B8CF-7EF71EDA51D7}
{4495276A-B029-4AA4-962F-43AF668CB81E} = {4811DFD1-82FA-4AF0-86AC-B52A182FB5CF}
{12B5A168-D117-4E4C-8155-F241AF5F1649} = {87BDAFCF-7697-4F9B-B8CF-7EF71EDA51D7}
{355AEFC4-5511-4CE4-912C-330F874E5240} = {F16D432B-B83B-4C27-B2D8-7CAA83284E66}
{0EB5037A-5574-40C6-B642-FB34C0AFA9D1} = {F16D432B-B83B-4C27-B2D8-7CAA83284E66}
{97E4929F-82FD-4C7E-922A-84329485443E} = {250813E0-0A2C-472F-A704-9625111EA3B2}
{6B6C93CE-4AC2-4A69-B126-D78EDF6B674C} = {97E4929F-82FD-4C7E-922A-84329485443E}
{53E79B8D-3924-4B64-88A7-06AC0F5478A6} = {97E4929F-82FD-4C7E-922A-84329485443E}
{3C132465-1792-49DD-A4B5-E0EED7424BFB} = {97E4929F-82FD-4C7E-922A-84329485443E}
{CD0A1148-15A8-42E8-8B56-0F6B5B5AA0A9} = {250813E0-0A2C-472F-A704-9625111EA3B2}
{F819CD1A-F549-438E-8BC8-22AF11F7101F} = {CD0A1148-15A8-42E8-8B56-0F6B5B5AA0A9}
{FFDB1150-9635-425D-9996-54A2A6472858} = {250813E0-0A2C-472F-A704-9625111EA3B2}
{2595F4C1-5F90-4186-A402-7060F9D21D4B} = {FFDB1150-9635-425D-9996-54A2A6472858}
{6B4B71F9-DE65-4A50-BFA6-1A52273836C8} = {FFDB1150-9635-425D-9996-54A2A6472858}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {4F123A03-0D43-4228-8BEC-E1E3F53EC73B}
SolutionGuid = {FF6068D8-CFE9-4114-8CD9-E463F8EEC359}
EndGlobalSection
EndGlobal

0 comments on commit 11ed64c

Please sign in to comment.