From 3a9f60c4e5eb42c5c461252ef4c025a1d81761c1 Mon Sep 17 00:00:00 2001 From: Laith <125567580+laiiith@users.noreply.github.com> Date: Thu, 14 Mar 2024 12:10:17 +0300 Subject: [PATCH] Add or update the Azure App Service build and deployment workflow config --- .github/workflows/master_azurelibrary.yml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/.github/workflows/master_azurelibrary.yml b/.github/workflows/master_azurelibrary.yml index 6e82955..046e161 100644 --- a/.github/workflows/master_azurelibrary.yml +++ b/.github/workflows/master_azurelibrary.yml @@ -40,21 +40,12 @@ jobs: environment: name: 'Production' url: ${{ steps.deploy-to-webapp.outputs.webapp-url }} - permissions: - id-token: write #This is required for requesting the JWT steps: - name: Download artifact from build job uses: actions/download-artifact@v3 with: name: .net-app - - - name: Login to Azure - uses: azure/login@v1 - with: - client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_129E5BB61C9042FCAFBBBEAFE430B7BB }} - tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_B61A51EA61F148FA9462130834DCFBBE }} - subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_6E20A420B8304B57AE2D46A5EE874E19 }} - name: Deploy to Azure Web App id: deploy-to-webapp @@ -62,5 +53,5 @@ jobs: with: app-name: 'AzureLibrary' slot-name: 'Production' + publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_B17AEE74445D4142A3F8C70841CD6ADC }} package: . - \ No newline at end of file