Skip to content

Commit 7a2d994

Browse files
authored
Added GitHub Actions for MVP Editing Hosts (#554)
* Added GitHub Action for MVP Staging Editing Host * Updated secret name used for Staging editing host deploy * Updated GitHub actions to deploy MVP Production Editing Host
1 parent 3083c38 commit 7a2d994

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed

.github/workflows/CI-CD_MVP.yml

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,21 @@ jobs:
3434
webAppName: Mvp-Staging
3535
secrets:
3636
publishingProfile: ${{ secrets.STAGING_MVP_WEBAPP_PUBLISHING_PROFILE }}
37+
38+
deploy-mvp-staging-editing:
39+
uses: ./.github/workflows/deploy_azureWebapp.yml
40+
needs: build-dotnet
41+
with:
42+
buildConfiguration: Debug
43+
projectLocation: headapps/MvpSite/MvpSite.Rendering
44+
assetName: Mvp-Staging
45+
webAppName: Mvp-Staging-Editing
46+
secrets:
47+
publishingProfile: ${{ secrets.STAGING_EDITING_MVP_WEBAPP_PUBLISHING_PROFILE }}
3748

3849
deploy-mvp-prod:
3950
if: github.ref == 'refs/heads/main'
40-
needs: deploy-mvp-staging
51+
needs: [deploy-mvp-staging, deploy-mvp-staging-editing]
4152
uses: ./.github/workflows/deploy_azureWebapp.yml
4253
with:
4354
buildConfiguration: Release
@@ -46,3 +57,15 @@ jobs:
4657
webAppName: Mvp-Production
4758
secrets:
4859
publishingProfile: ${{ secrets.PROD_MVP_WEBAPP_PUBLISHING_PROFILE }}
60+
61+
deploy-mvp-prod-editing:
62+
if: github.ref == 'refs/heads/main'
63+
needs: [deploy-mvp-staging, deploy-mvp-staging-editing]
64+
uses: ./.github/workflows/deploy_azureWebapp.yml
65+
with:
66+
buildConfiguration: Release
67+
projectLocation: headapps/MvpSite/MvpSite.Rendering
68+
assetName: Mvp-prod
69+
webAppName: Mvp-Production-Editing
70+
secrets:
71+
publishingProfile: ${{ secrets.PROD_EDITING_MVP_WEBAPP_PUBLISHING_PROFILE }}

0 commit comments

Comments
 (0)