From 46ba2b04b0e544db0b7d5b503378fc5dd2be037a Mon Sep 17 00:00:00 2001 From: Laura Fonseca <127278198+lafonsecallorca@users.noreply.github.com> Date: Sat, 19 Oct 2024 21:47:28 -0400 Subject: [PATCH] Update main_edually-pilot.yml --- .github/workflows/main_edually-pilot.yml | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/.github/workflows/main_edually-pilot.yml b/.github/workflows/main_edually-pilot.yml index 5e4b1ee..a87933d 100644 --- a/.github/workflows/main_edually-pilot.yml +++ b/.github/workflows/main_edually-pilot.yml @@ -49,8 +49,8 @@ jobs: environment: name: 'Production' url: ${{ steps.deploy-to-webapp.outputs.webapp-url }} - permissions: - id-token: write #This is required for requesting the JWT + permissions: + id-token: write # Required for requesting the JWT steps: - name: Download artifact from build job @@ -61,13 +61,12 @@ jobs: - name: Unzip artifact for deployment run: unzip release.zip - - - name: Login to Azure - uses: azure/login@v2 - with: - client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_9F429DE4C27947019BFE7EE129D3244B }} - tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_A1F0942D95B6414D95D8DFA5875E84AE }} - subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_12D8E465323C43F69D6820E3EFA1915C }} + - name: Login to Azure + uses: azure/login@v2 + with: + client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID }} + tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID }} + subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID }} - name: 'Deploy to Azure Web App' uses: azure/webapps-deploy@v3 @@ -75,4 +74,3 @@ jobs: with: app-name: 'edually-pilot' slot-name: 'Production' - \ No newline at end of file