Skip to content

Commit 2eb8b5f

Browse files
author
Sidney Andrews
committed
Deploy to App Service and ACI using containers
1 parent 70b0ed9 commit 2eb8b5f

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/automation.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ jobs:
7171
name: Deploy containers to azure
7272
runs-on: ubuntu-latest
7373
needs: build-container
74+
env:
75+
WEB_APP_NAME: webinarsidneycontainer
7476
steps:
7577
- name: Login to Azure
7678
uses: azure/login@v1
@@ -83,4 +85,9 @@ jobs:
8385
with:
8486
subscriptionId: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
8587
resourceGroupName: Production
86-
template: armdeploy.json
88+
template: armdeploy.json
89+
- name: Deploy Web App using a container
90+
uses: azure/webapps-deploy@v2
91+
with:
92+
app-name: ${{ env.WEB_APP_NAME }}
93+
images: msusdev/webnext:latest

0 commit comments

Comments
 (0)