From 98fc86a7445e80e2d75a66a66bcc3fe6e432fd4b Mon Sep 17 00:00:00 2001 From: Kegan Maher Date: Tue, 21 May 2024 11:55:56 +0000 Subject: [PATCH] ci(deploy): azure/webapps-deploy deploys new image replaces the old webhooks-based deployment --- .github/workflows/deploy.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 7209de623..790c295a3 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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 }}