From ec4384ab51652f6b9bbfc65014340dff1846dbb8 Mon Sep 17 00:00:00 2001 From: "E. Lynette Rayle" Date: Fri, 26 Apr 2024 14:43:19 -0400 Subject: [PATCH] Revert "use azure/login as auth for deploy" This reverts commit c1bc47da4fc7b1ea945f92ce859924fdce3d7af7. --- .github/workflows/app-deploy-to-azure.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/app-deploy-to-azure.yml b/.github/workflows/app-deploy-to-azure.yml index 2bc5ef0..f8bec50 100644 --- a/.github/workflows/app-deploy-to-azure.yml +++ b/.github/workflows/app-deploy-to-azure.yml @@ -86,8 +86,11 @@ jobs: } ] + # v3.0.1 passes when AZURE_WEBAPP_PUBLISH_PROFILE_PROD isn't set, but should fail. + # Added secret check above to ensure it is set. - name: Deploy to Azure WebApp uses: azure/webapps-deploy@v3.0.1 with: app-name: ${{ inputs.azure-webapp-name }} + publish-profile: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE }} images: '${{ inputs.image-name-with-tag }}'