Skip to content

Commit 7f1878f

Browse files
authored
CI: deploy Azure Web App with GitHub Actions (#2111)
2 parents 1a15409 + 98fc86a commit 7f1878f

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/deploy.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,11 @@ jobs:
6161
context: .
6262
file: appcontainer/Dockerfile
6363
push: true
64-
tags: |
65-
ghcr.io/${{ github.repository }}:${{ github.ref_name }}
66-
ghcr.io/${{ github.repository }}:${{ github.sha }}
64+
tags: ghcr.io/${{ github.repository }}:${{ github.sha }}
65+
66+
- name: Deploy to Azure Web App
67+
uses: azure/webapps-deploy@v2
68+
with:
69+
app-name: ${{ vars.AZURE_WEBAPP_NAME }}
70+
images: ghcr.io/${{ github.repository }}:${{ github.sha }}
71+
publish-profile: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE }}

0 commit comments

Comments
 (0)