Skip to content

Commit

Permalink
ci(deploy): azure/webapps-deploy deploys new image
Browse files Browse the repository at this point in the history
replaces the old webhooks-based deployment
  • Loading branch information
thekaveman committed May 21, 2024
1 parent 223fd4f commit 98fc86a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,10 @@ jobs:
file: appcontainer/Dockerfile
push: true
tags: ghcr.io/${{ github.repository }}:${{ github.sha }}

- name: Deploy to Azure Web App
uses: azure/webapps-deploy@v2
with:
app-name: ${{ vars.AZURE_WEBAPP_NAME }}
images: ghcr.io/${{ github.repository }}:${{ github.sha }}
publish-profile: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE }}

0 comments on commit 98fc86a

Please sign in to comment.